libmicrohttpd

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

commit 3b0a9d19d13b5ac77714190da439d8a4c2c56736
parent e71a6a5dff27a8816129fa16bb0e7cedce3acc06
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Thu,  7 Sep 2023 21:09:04 +0300

mhd_threads: fixed check for error when starting a new thread on W32

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

diff --git a/src/microhttpd/mhd_threads.c b/src/microhttpd/mhd_threads.c @@ -234,7 +234,7 @@ MHD_create_thread_ (MHD_thread_handle_ID_ *thread, NULL); thread->handle = (MHD_thread_handle_) thr_handle; - if ((MHD_thread_handle_) - 1 == thread->handle) + if ((MHD_thread_handle_) 0 == thread->handle) return 0; return ! 0;