summaryrefslogtreecommitdiff
path: root/src/microhttpd/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r--src/microhttpd/daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 2fb87ed4..256fc839 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -4031,7 +4031,7 @@ MHD_start_daemon_va (unsigned int flags,
use_pipe = 0; /* useless if we are using 'external' select */
if (use_pipe)
{
- if (0 != MHD_pipe_ (daemon->wpipe))
+ if (!MHD_pipe_ (daemon->wpipe))
{
#ifdef HAVE_MESSAGES
MHD_DLOG (daemon,
@@ -4561,7 +4561,7 @@ MHD_start_daemon_va (unsigned int flags,
/* Always use individual control pipes */
if (1)
{
- if (0 != MHD_pipe_ (d->wpipe))
+ if (!MHD_pipe_ (d->wpipe))
{
#ifdef HAVE_MESSAGES
MHD_DLOG (daemon,