mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-20 11:19:56 +00:00
API change: folded user_data into request_info, and introduced event-specific ev_data
This commit is contained in:
1 parent
02098b1903
commit
3ffdf5459a
3 files changed
+13
-26
No files matched your search
+2
-2
@@ -136,9 +136,9 @@ static void *event_handler(enum mg_event event,
|
||||
"%s", (int) strlen(fetch_data), fetch_data);
|
||||
return "";
|
||||
} else if (event == MG_EVENT_LOG) {
|
||||
printf("%s\n", mg_get_log_message(conn));
|
||||
printf("%s\n", (const char *) mg_get_request_info(conn)->ev_data);
|
||||
}
|
||||
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user