1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

more LWS_NO_DAEMONIZE

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2013-01-21 13:06:38 +08:00
parent 5c54d622ff
commit 35f332bb46

View 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);