summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2012-10-17 20:10:44 +0800
committerAndy Green <andy.green@linaro.org>2012-10-17 20:10:44 +0800
commit5e8967a54ecbc4980d1c4001cfab360f18e92ab2 (patch)
tree513078fd54f7e77cf9086204924283d941ee438e
parent7b6106214b5b8eacef90a8beca157fe235782535 (diff)
always taking an interest in ppid wont hurt
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r--lib/libwebsockets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c
index 2f5b4d0..c64f245 100644
--- a/lib/libwebsockets.c
+++ b/lib/libwebsockets.c
@@ -3032,7 +3032,7 @@ libwebsockets_fork_service_loop(struct libwebsocket_context *context)
while (1) {
if (libwebsocket_service(context, 1000))
break;
-#ifndef HAVE_SYS_PRCTL_H
+//#ifndef HAVE_SYS_PRCTL_H
/*
* on systems without prctl() (i.e. anything but linux) we can notice that our
* parent is dead if getppid() returns 1. FIXME apparently this is not true for
@@ -3041,7 +3041,7 @@ libwebsockets_fork_service_loop(struct libwebsocket_context *context)
if (getppid() == 1)
break;
-#endif
+//#endif
}