[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r36894 - libmicrohttpd/src/microhttpd
From: |
gnunet |
Subject: |
[GNUnet-SVN] r36894 - libmicrohttpd/src/microhttpd |
Date: |
Fri, 5 Feb 2016 18:27:39 +0100 |
Author: grothoff
Date: 2016-02-05 18:27:39 +0100 (Fri, 05 Feb 2016)
New Revision: 36894
Modified:
libmicrohttpd/src/microhttpd/daemon.c
Log:
bracket correctly
Modified: libmicrohttpd/src/microhttpd/daemon.c
===================================================================
--- libmicrohttpd/src/microhttpd/daemon.c 2016-02-05 13:15:18 UTC (rev
36893)
+++ libmicrohttpd/src/microhttpd/daemon.c 2016-02-05 17:27:39 UTC (rev
36894)
@@ -3765,7 +3765,9 @@
#endif
if (0 == (flags & (MHD_USE_SELECT_INTERNALLY |
MHD_USE_THREAD_PER_CONNECTION)))
use_pipe = 0; /* useless if we are using 'external' select */
- if ( (use_pipe) && (0 != MHD_pipe_ (daemon->wpipe)) )
+ if (use_pipe)
+ {
+ if (0 != MHD_pipe_ (daemon->wpipe))
{
#ifdef HAVE_MESSAGES
MHD_DLOG (daemon,
@@ -3775,8 +3777,9 @@
free (daemon);
return NULL;
}
- make_nonblocking (daemon, daemon->wpipe[0]);
- make_nonblocking (daemon, daemon->wpipe[1]);
+ make_nonblocking (daemon, daemon->wpipe[0]);
+ make_nonblocking (daemon, daemon->wpipe[1]);
+ }
#ifndef MHD_WINSOCK_SOCKETS
if ( (0 == (flags & (MHD_USE_POLL | MHD_USE_EPOLL_LINUX_ONLY))) &&
(1 == use_pipe) &&
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r36894 - libmicrohttpd/src/microhttpd,
gnunet <=