gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r37901 - libmicrohttpd/src/microhttpd
Date: Wed, 7 Sep 2016 00:05:27 +0200

Author: grothoff
Date: 2016-09-07 00:05:27 +0200 (Wed, 07 Sep 2016)
New Revision: 37901

Modified:
   libmicrohttpd/src/microhttpd/response.c
Log:
-use portable MHD_socket_pair

Modified: libmicrohttpd/src/microhttpd/response.c
===================================================================
--- libmicrohttpd/src/microhttpd/response.c     2016-09-06 22:04:23 UTC (rev 
37900)
+++ libmicrohttpd/src/microhttpd/response.c     2016-09-06 22:05:27 UTC (rev 
37901)
@@ -710,11 +710,7 @@
     char *buf;
     int sv[2];
 
-    /* FIXME: this is non-portable for now; W32 port pending... */
-    if (0 != socketpair (AF_UNIX,
-                         SOCK_STREAM,
-                         0,
-                         sv))
+    if (! MHD_socket_pair_ (sv))
     {
       free (urh);
       return MHD_NO;




reply via email to

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