[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 02/06: mhd_threads: fixed check for error when starting
From: |
gnunet |
Subject: |
[libmicrohttpd] 02/06: mhd_threads: fixed check for error when starting a new thread on W32 |
Date: |
Mon, 11 Sep 2023 18:51:49 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 3b0a9d19d13b5ac77714190da439d8a4c2c56736
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Sep 7 21:09:04 2023 +0300
mhd_threads: fixed check for error when starting a new thread on W32
---
src/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
index 1f6ac09e..13cccf4c 100644
--- 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;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] branch master updated (dfbc4da6 -> 97707d77), gnunet, 2023/09/11
- [libmicrohttpd] 01/06: mhd_threads: muted compiler warning on W32, gnunet, 2023/09/11
- [libmicrohttpd] 02/06: mhd_threads: fixed check for error when starting a new thread on W32,
gnunet <=
- [libmicrohttpd] 03/06: mhd_threads: renamed one macro for clarity, gnunet, 2023/09/11
- [libmicrohttpd] 04/06: Renamed 'pid' -> 'tid' when used for threads, gnunet, 2023/09/11
- [libmicrohttpd] 05/06: mhd_threads: added new macro MHD_join_thread_tid_(), gnunet, 2023/09/11
- [libmicrohttpd] 06/06: mhd_str: fixed possible compiler and run-time sanitizers warnings, gnunet, 2023/09/11