Skip to content

Commit

Permalink
Squashed warning for MG_REQUEST_END
Browse files Browse the repository at this point in the history
  • Loading branch information
cpq committed Nov 11, 2013
1 parent 0714e0d commit 607651a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/src/mongoose.c
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion mongoose.c
Expand Up @@ -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) {
Expand Down

0 comments on commit 607651a

Please sign in to comment.