Commit 6d4d53c2 authored by Sergey Lyubka's avatar Sergey Lyubka

Squashed linux warning in process_new_connection()

parent e6f8d409
...@@ -4877,7 +4877,7 @@ static void process_new_connection(struct mg_connection *conn) { ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment