commit | 35f332bb46464feb87eb37a9afd98c567b954688 | [log] [tgz] |
---|---|---|
author | Andy Green <andy.green@linaro.org> | Mon Jan 21 13:06:38 2013 +0800 |
committer | Andy Green <andy.green@linaro.org> | Mon Jan 21 13:06:38 2013 +0800 |
tree | 0d39a6130e5c363819d9a508cfce8c82fec3c63c | |
parent | 5c54d622ff6464de9ffc88f4e1494cfdac53dcee [diff] [blame] |
more LWS_NO_DAEMONIZE Signed-off-by: Andy Green <andy.green@linaro.org>
diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c index 7de976f..1160d9b 100644 --- a/lib/libwebsockets.c +++ b/lib/libwebsockets.c
@@ -1475,7 +1475,7 @@ 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);