libmicrohttpd

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

commit dc802aa5eae2fc5821ee03915c501c8880c62677
parent 2646f3a681d993ebfff8eaa340615fd94c3d2738
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Sun,  5 Sep 2021 17:54:16 +0300

MHD_start_daemon_va (): fixed sanitizer error

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 @@ -6502,7 +6502,7 @@ MHD_start_daemon_va (unsigned int flags, *pflags |= MHD_USE_INTERNAL_POLLING_THREAD; } if (0 == (*pflags & MHD_USE_INTERNAL_POLLING_THREAD)) - *pflags = (*pflags & ~MHD_USE_ITC); /* useless if we are using 'external' select */ + *pflags = (*pflags & ((enum MHD_FLAG) ~MHD_USE_ITC)); /* useless if we are using 'external' select */ else { #ifdef HAVE_LISTEN_SHUTDOWN