Skip to content

Commit

Permalink
remove some compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
scaprile authored Dec 23, 2023
1 parent 06f8238 commit 176db1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/webui-rest/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 176db1a

Please sign in to comment.