moved status_code, user_data, log_message out of struct mg_request_info

This commit is contained in:
Sergey Lyubka committed 2012-09-17 19:38:19 +01:00
1 parent 4408083b4d
commit 05b2a04267
5 files changed
+52 -40

No files matched your search

+1 -1
View File
@@ -219,7 +219,7 @@ static void init_server_name(void) {
static void *mongoose_callback(enum mg_event ev, struct mg_connection *conn) {
if (ev == MG_EVENT_LOG) {
printf("%s\n", mg_get_request_info(conn)->log_message);
printf("%s\n", mg_get_log_message(conn));
}
return NULL;