gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r34686 - libmicrohttpd/src/microhttpd
Date: Thu, 18 Dec 2014 22:39:33 +0100

Author: Karlson2k
Date: 2014-12-18 22:39:33 +0100 (Thu, 18 Dec 2014)
New Revision: 34686

Modified:
   libmicrohttpd/src/microhttpd/daemon.c
Log:
fix building with --disable-messages

Modified: libmicrohttpd/src/microhttpd/daemon.c
===================================================================
--- libmicrohttpd/src/microhttpd/daemon.c       2014-12-18 17:39:01 UTC (rev 
34685)
+++ libmicrohttpd/src/microhttpd/daemon.c       2014-12-18 21:39:33 UTC (rev 
34686)
@@ -3585,11 +3585,13 @@
                               SOL_SOCKET,
                               SO_REUSEADDR,
                               (void*)&on, sizeof (on)))
+          {
 #if HAVE_MESSAGES
             MHD_DLOG (daemon,
                       "setsockopt failed: %s\n",
                       MHD_socket_last_strerr_ ());
 #endif
+          }
         }
       else if (daemon->listening_address_reuse > 0)
         {
@@ -3726,11 +3728,13 @@
          if (0 > setsockopt (socket_fd,
                               IPPROTO_IPV6, IPV6_V6ONLY,
                               &on, sizeof (on)))
+      {
 #if HAVE_MESSAGES
             MHD_DLOG (daemon,
                       "setsockopt failed: %s\n",
                       MHD_socket_last_strerr_ ());
 #endif
+      }
 #endif
 #endif
        }




reply via email to

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