libmicrohttpd

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

commit 92a6b87757fbd9420afcd24d7fcf0d0f1792c337
parent 1890d51a8cc73b8b0b9fd3554f18f612ab7f6056
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Thu, 24 Nov 2016 17:59:53 +0300

MHD_start_daemon_va(): fixed wrong check caused daemon failure on some platforms

Diffstat:
Msrc/microhttpd/daemon.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c @@ -5383,7 +5383,7 @@ MHD_start_daemon_va (unsigned int flags, } } if ( (0 == (flags & (MHD_USE_POLL | MHD_USE_EPOLL))) && - (! MHD_SCKT_FD_FITS_FDSET_(MHD_itc_r_fd_ (daemon->itc), + (! MHD_SCKT_FD_FITS_FDSET_(MHD_itc_r_fd_ (d->itc), NULL)) ) { #ifdef HAVE_MESSAGES