gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] branch master updated: MHD_start_daemon():


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated: MHD_start_daemon(): fixed c/p error resulted in nonfunctional SO_EXCLBIND on Solaris
Date: Sun, 26 Mar 2017 22:22:19 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 6d1ae16a MHD_start_daemon(): fixed c/p error resulted in nonfunctional 
SO_EXCLBIND on Solaris
6d1ae16a is described below

commit 6d1ae16af9edb2bdcc04630d0f6aaba282ac6c44
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sun Mar 26 22:45:12 2017 +0300

    MHD_start_daemon(): fixed c/p error resulted in nonfunctional SO_EXCLBIND 
on Solaris
---
 src/microhttpd/daemon.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index b01539bb..a5f9f853 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -5675,7 +5675,6 @@ MHD_start_daemon_va (unsigned int flags,
            */
 #if (defined(_WIN32) && defined(SO_EXCLUSIVEADDRUSE)) || \
     (defined(__sun) && defined(SO_EXCLBIND))
-#ifdef SO_EXCLUSIVEADDRUSE
           if (0 > setsockopt (listen_fd,
                               SOL_SOCKET,
 #ifdef SO_EXCLUSIVEADDRUSE
@@ -5699,7 +5698,6 @@ MHD_start_daemon_va (unsigned int flags,
                     _("Cannot disallow listening address reuse: 
SO_EXCLUSIVEADDRUSE not defined\n"));
 #endif
           goto free_and_fail;
-#endif
 #endif /* _WIN32 */
         }
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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