Skip to content
Snippets Groups Projects
Commit f5ad19d7 authored by Sergey Lyubka's avatar Sergey Lyubka
Browse files

Fix g++ build for mongoose example

    PUBLISHED_FROM=c581f33e26819d05c9b8484c9dc10c2a3615a34a
parent d665d9e9
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ static struct mg_serve_http_opts s_http_server_opts; ...@@ -8,7 +8,7 @@ static struct mg_serve_http_opts s_http_server_opts;
static void ev_handler(struct mg_connection *nc, int ev, void *p) { static void ev_handler(struct mg_connection *nc, int ev, void *p) {
if (ev == MG_EV_HTTP_REQUEST) { if (ev == MG_EV_HTTP_REQUEST) {
mg_serve_http(nc, p, s_http_server_opts); mg_serve_http(nc, (struct http_message *) p, s_http_server_opts);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment