mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-26 03:59:00 +08:00
Squashed linux warning in process_new_connection()
This commit is contained in:
parent
e6f8d40942
commit
6d4d53c247
@ -4877,7 +4877,7 @@ static void process_new_connection(struct mg_connection *conn) {
|
|||||||
}
|
}
|
||||||
conn->birth_time = time(NULL);
|
conn->birth_time = time(NULL);
|
||||||
handle_request(conn);
|
handle_request(conn);
|
||||||
conn->request_info.ev_data = (void *) conn->status_code;
|
conn->request_info.ev_data = (void *) (long) conn->status_code;
|
||||||
call_user(conn, MG_REQUEST_COMPLETE);
|
call_user(conn, MG_REQUEST_COMPLETE);
|
||||||
log_access(conn);
|
log_access(conn);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user