gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 17/31: MHD_poll(): removed unneeded check


From: gnunet
Subject: [libmicrohttpd] 17/31: MHD_poll(): removed unneeded check
Date: Mon, 10 Oct 2022 13:01:02 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 43e10b9088806877ad1ad2c685e205d731333f0f
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Oct 6 13:53:28 2022 +0300

    MHD_poll(): removed unneeded check
    
    The shutdown flag is handled externally
---
 src/microhttpd/daemon.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 6c8f3db6..25571f61 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -4943,8 +4943,6 @@ static enum MHD_Result
 MHD_poll (struct MHD_Daemon *daemon,
           int may_block)
 {
-  if (daemon->shutdown)
-    return MHD_NO;
   if (0 == (daemon->options & MHD_USE_THREAD_PER_CONNECTION))
     return MHD_poll_all (daemon,
                          may_block ? -1 : 0);

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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