mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-28 21:59:02 +08:00
Showing error message
This commit is contained in:
parent
5157bd0960
commit
b39426dbf7
@ -346,6 +346,9 @@ static void *event_handler(enum mg_event event,
|
||||
// try to serve the request.
|
||||
processed = NULL;
|
||||
}
|
||||
} else if (event == MG_EVENT_LOG) {
|
||||
printf("%s\n", (const char *) mg_get_request_info(conn)->ev_data);
|
||||
processed = NULL;
|
||||
} else {
|
||||
processed = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user