From 176db1aedb6ab0663590d2c17ba6899c41d8058f Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Sat, 23 Dec 2023 19:02:05 -0300 Subject: [PATCH] remove some compiler warning --- examples/webui-rest/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/webui-rest/main.c b/examples/webui-rest/main.c index 3734e7f022..155bcf9c89 100644 --- a/examples/webui-rest/main.c +++ b/examples/webui-rest/main.c @@ -31,7 +31,7 @@ static void fn(struct mg_connection *c, int ev, void *ev_data, void *fn_data) { } } else { struct mg_http_serve_opts opts = {.root_dir = s_root_dir}; - mg_http_serve_dir(c, ev_data, &opts); + mg_http_serve_dir(c, hm, &opts); } } (void) fn_data;