mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-21 19:51:50 +00:00
Changing API: callback doesnt get mg_request_info pointer anymore, but it is possible to get it using mg_get_request_info()
This commit is contained in:
1 parent
0e0091e1c0
commit
e26a993f2a
2 files changed
+5
-4
No files matched your search
+2
-2
@@ -326,8 +326,8 @@ static void redirect_to_ssl(struct mg_connection *conn,
|
||||
}
|
||||
|
||||
static void *event_handler(enum mg_event event,
|
||||
struct mg_connection *conn,
|
||||
const struct mg_request_info *request_info) {
|
||||
struct mg_connection *conn) {
|
||||
const struct mg_request_info *request_info = mg_get_request_info(conn);
|
||||
void *processed = "yes";
|
||||
|
||||
if (event == MG_NEW_REQUEST) {
|
||||
|
||||
Reference in new issue
Block a user