gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r38110 - libmicrohttpd/src/microhttpd


From: gnunet
Subject: [GNUnet-SVN] r38110 - libmicrohttpd/src/microhttpd
Date: Tue, 11 Oct 2016 17:20:59 +0200

Author: Karlson2k
Date: 2016-10-11 17:20:59 +0200 (Tue, 11 Oct 2016)
New Revision: 38110

Modified:
   libmicrohttpd/src/microhttpd/mhd_itc.h
Log:
Simplify MHD_itc_init_() macro for eventfd

Modified: libmicrohttpd/src/microhttpd/mhd_itc.h
===================================================================
--- libmicrohttpd/src/microhttpd/mhd_itc.h      2016-10-11 15:20:56 UTC (rev 
38109)
+++ libmicrohttpd/src/microhttpd/mhd_itc.h      2016-10-11 15:20:59 UTC (rev 
38110)
@@ -59,7 +59,7 @@
  * @param itc the itc to initialise
  * @return non-zero if succeeded, zero otherwise
  */
-#define MHD_itc_init_(itc) ((-1 == ((itc) = eventfd (0, EFD_CLOEXEC | 
EFD_NONBLOCK))) ? 0 : !0)
+#define MHD_itc_init_(itc) (-1 != ((itc) = eventfd (0, EFD_CLOEXEC | 
EFD_NONBLOCK)))
 
 /***
  * Get description string of last errno for pipe operations.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]