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:
parent
5c54d622ff
commit
35f332bb46
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue