From d255fc737a9263ef54050dc14e52728ea5f6d451 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Tue, 15 Mar 2022 10:03:00 +0000 Subject: [PATCH] Fix mongoose.exe target --- examples/http-server/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/http-server/main.c b/examples/http-server/main.c index a5109696..319ee253 100644 --- a/examples/http-server/main.c +++ b/examples/http-server/main.c @@ -20,7 +20,7 @@ static void signal_handler(int signo) { // Simply serve static files from `s_root_dir` static void cb(struct mg_connection *c, int ev, void *ev_data, void *fn_data) { if (ev == MG_EV_HTTP_MSG) { - struct mg_http_message *hm = ev_data, tmp = {}; + struct mg_http_message *hm = ev_data, tmp = {0}; struct mg_str unknown = mg_str_n("?", 1), *cl; struct mg_http_serve_opts opts = {0}; opts.root_dir = s_root_dir;