Commit b39426db authored by Sergey Lyubka's avatar Sergey Lyubka

Showing error message

parent 5157bd09
......@@ -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;
}
......
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