Commit b67b6188 authored by Sergey Lyubka's avatar Sergey Lyubka

Added guard for MONGOOSE_NO_FILESYSTEM

parent 5a19438f
...@@ -4869,8 +4869,10 @@ const char *mg_set_option(struct mg_server *server, const char *name, ...@@ -4869,8 +4869,10 @@ const char *mg_set_option(struct mg_server *server, const char *name,
free(*v); free(*v);
*v = mg_strdup(buf); *v = mg_strdup(buf);
} }
#ifndef MONGOOSE_NO_FILESYSTEM
} else if (ind == HEXDUMP_FILE) { } else if (ind == HEXDUMP_FILE) {
server->ns_server.hexdump_file = *v; server->ns_server.hexdump_file = *v;
#endif
#ifndef _WIN32 #ifndef _WIN32
} else if (ind == RUN_AS_USER) { } else if (ind == RUN_AS_USER) {
struct passwd *pw; struct passwd *pw;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment