more LWS_NO_DAEMONIZE 62/2962/1
authorAndy Green <andy.green@linaro.org>
Mon, 21 Jan 2013 05:06:38 +0000 (13:06 +0800)
committerKevron Rees <kevron_m_rees@linux.intel.com>
Thu, 7 Mar 2013 21:01:28 +0000 (13:01 -0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/libwebsockets.c

index 7de976f..1160d9b 100644 (file)
@@ -1475,7 +1475,7 @@ libwebsocket_create_context(int port, const char *interf,
                lwsl_err("No memory for websocket context\n");
                return NULL;
        }
-#ifndef NO_DAEMONIZE
+#ifndef LWS_NO_DAEMONIZE
        extern int pid_daemon;
        context->started_with_parent = pid_daemon;
        lwsl_notice(" Started with daemon pid %d\n", pid_daemon);