mirror of
https://github.com/cesanta/mongoose.git
synced 2025-07-20 19:26:23 +08:00
Fix mongoose.exe target
This commit is contained in:
parent
37cb51ee94
commit
d255fc737a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user