gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] branch master updated: remove bogus check


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated: remove bogus check
Date: Fri, 10 Mar 2017 16:30:42 +0100

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

grothoff pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 046ca777 remove bogus check
046ca777 is described below

commit 046ca777629087eb437934ea9bb330e6b0490b8e
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Mar 10 16:32:24 2017 +0100

    remove bogus check
---
 src/microhttpd/daemon.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 9dd2f1cd..680a9b99 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -2877,9 +2877,8 @@ MHD_accept_connection (struct MHD_Daemon *daemon)
       const int err = MHD_socket_get_error_ ();
 
       /* This could be a common occurance with multiple worker threads */
-      if ( (MHD_SCKT_ERR_IS_ (err,
-                              MHD_SCKT_EINVAL_)) &&
-           (MHD_INVALID_SOCKET == fd) )
+      if (MHD_SCKT_ERR_IS_ (err,
+                            MHD_SCKT_EINVAL_))
         return MHD_NO; /* can happen during shutdown */
       if (MHD_SCKT_ERR_IS_DISCNN_BEFORE_ACCEPT_(err))
         return MHD_NO; /* do not print error if client just disconnected early 
*/

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



reply via email to

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