Define 'daemonize' flag if LWS_NO_DAEMONIZE is not defined.
authorAndrew Canaday <andrew.canaday@nytimes.com>
Sun, 29 Nov 2015 11:32:02 +0000 (19:32 +0800)
committerAndy Green <andy.green@linaro.org>
Sun, 29 Nov 2015 11:32:02 +0000 (19:32 +0800)
test-server/test-server-pthreads.c
test-server/test-server.c

index bd756f8..8385347 100644 (file)
@@ -171,7 +171,7 @@ int main(int argc, char **argv)
        int syslog_options = LOG_PID | LOG_PERROR;
 #endif
 #ifndef LWS_NO_DAEMONIZE
-//     int daemonize = 0;
+       int daemonize = 0;
 #endif
 
        /* 
index 050f73b..4b2dfb7 100644 (file)
@@ -135,7 +135,7 @@ int main(int argc, char **argv)
        int syslog_options = LOG_PID | LOG_PERROR;
 #endif
 #ifndef LWS_NO_DAEMONIZE
-//     int daemonize = 0;
+       int daemonize = 0;
 #endif
 
        /*