mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-21 11:30:01 +00:00
Squashed warning for MG_REQUEST_END
This commit is contained in:
1 parent
0714e0dd8f
commit
607651a3ff
2 files changed
+2
-2
No files matched your search
@@ -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) {
|
||||
|
||||
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user