Commit 607651a3 authored by Sergey Lyubka's avatar Sergey Lyubka

Squashed warning for MG_REQUEST_END

parent 0714e0dd
...@@ -2860,7 +2860,7 @@ static void process_new_connection(struct mg_connection *conn) { ...@@ -2860,7 +2860,7 @@ static void process_new_connection(struct mg_connection *conn) {
if (ebuf[0] == '\0') { if (ebuf[0] == '\0') {
handle_request(conn); 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); log_access(conn);
} }
if (ri->remote_user != NULL) { if (ri->remote_user != NULL) {
......
...@@ -5028,7 +5028,7 @@ static void process_new_connection(struct mg_connection *conn) { ...@@ -5028,7 +5028,7 @@ static void process_new_connection(struct mg_connection *conn) {
if (ebuf[0] == '\0') { if (ebuf[0] == '\0') {
handle_request(conn); 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); log_access(conn);
} }
if (ri->remote_user != NULL) { if (ri->remote_user != NULL) {
......
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