mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-27 15:01:03 +08:00
Squashed warning for MG_REQUEST_END
This commit is contained in:
parent
0714e0dd8f
commit
607651a3ff
@ -2860,7 +2860,7 @@ static void process_new_connection(struct mg_connection *conn) {
|
||||
|
||||
if (ebuf[0] == '\0') {
|
||||
handle_request(conn);
|
||||
call_user(MG_REQUEST_END, conn, (void *) (int *) conn->status_code);
|
||||
call_user(MG_REQUEST_END, conn, (void *) (long) conn->status_code);
|
||||
log_access(conn);
|
||||
}
|
||||
if (ri->remote_user != NULL) {
|
||||
|
@ -5028,7 +5028,7 @@ static void process_new_connection(struct mg_connection *conn) {
|
||||
|
||||
if (ebuf[0] == '\0') {
|
||||
handle_request(conn);
|
||||
call_user(MG_REQUEST_END, conn, (void *) (int *) conn->status_code);
|
||||
call_user(MG_REQUEST_END, conn, (void *) (long) conn->status_code);
|
||||
log_access(conn);
|
||||
}
|
||||
if (ri->remote_user != NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user