Squashed warning for MG_REQUEST_END

This commit is contained in:
Sergey Lyubka 2013-11-11 17:18:48 +00:00
parent 0714e0dd8f
commit 607651a3ff
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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) {