mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-14 10:20:01 +00:00
Added guard for MONGOOSE_NO_FILESYSTEM
This commit is contained in:
1 parent
5a19438f70
commit
b67b618811
1 file changed
+2
@@ -4869,8 +4869,10 @@ const char *mg_set_option(struct mg_server *server, const char *name,
|
||||
free(*v);
|
||||
*v = mg_strdup(buf);
|
||||
}
|
||||
#ifndef MONGOOSE_NO_FILESYSTEM
|
||||
} else if (ind == HEXDUMP_FILE) {
|
||||
server->ns_server.hexdump_file = *v;
|
||||
#endif
|
||||
#ifndef _WIN32
|
||||
} else if (ind == RUN_AS_USER) {
|
||||
struct passwd *pw;
|
||||
|
||||
Reference in new issue
Block a user