libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

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

MHD_poll(): removed unneeded check

The shutdown flag is handled externally

Diffstat:
Msrc/microhttpd/daemon.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git 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);