Squashed linux warning in process_new_connection()

This commit is contained in:
Sergey Lyubka 2013-01-20 10:11:57 +00:00
parent e6f8d40942
commit 6d4d53c247

View File

@ -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);
} }