[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 228/335: -fix typo
From: |
gnunet |
Subject: |
[libmicrohttpd] 228/335: -fix typo |
Date: |
Sat, 27 Jul 2024 22:02:04 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to tag stf-m2
in repository libmicrohttpd.
commit 1cfb0c6d1ac958ea5244b4ab56d1baf60c5d363b
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Jul 10 09:01:24 2024 +0200
-fix typo
---
src/mhd2/mhd_sockets_funcs.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/mhd2/mhd_sockets_funcs.c b/src/mhd2/mhd_sockets_funcs.c
index 3f98da24..cf793934 100644
--- a/src/mhd2/mhd_sockets_funcs.c
+++ b/src/mhd2/mhd_sockets_funcs.c
@@ -60,7 +60,7 @@ mhd_socket_nonblocking (MHD_Socket sckt)
if (0 > get_flags)
return false;
- set_flags = (flags | O_NONBLOCK);
+ set_flags = (get_flags | O_NONBLOCK);
if (get_flags == set_flags)
return true;
@@ -88,10 +88,10 @@ mhd_socket_noninheritable (MHD_Socket sckt)
int set_flags;
get_flags = fcntl (sckt, F_GETFD);
- if (0 > flags)
+ if (0 > get_flags)
return false;
- set_flags = (flags | FD_CLOEXEC);
+ set_flags = (get_flags | FD_CLOEXEC);
if (get_flags == set_flags)
return true;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 216/335: configure: added tests for 'unreachable' supported keywords, (continued)
- [libmicrohttpd] 216/335: configure: added tests for 'unreachable' supported keywords, gnunet, 2024/07/27
- [libmicrohttpd] 217/335: configure: added checks for socketpair(), gnunet, 2024/07/27
- [libmicrohttpd] 209/335: this_API_is_TERRIBLE.txt: updated, gnunet, 2024/07/27
- [libmicrohttpd] 230/335: w32_lib_res.rc.in: fixed, gnunet, 2024/07/27
- [libmicrohttpd] 229/335: Partial revert of 7237eb207b6dd215c5b726ed4b2a1e337cc4dbcc, gnunet, 2024/07/27
- [libmicrohttpd] 220/335: configure: added tests for supported enum attributes, gnunet, 2024/07/27
- [libmicrohttpd] 203/335: configure: check for more network/sockets headers, gnunet, 2024/07/27
- [libmicrohttpd] 232/335: -fix build error: SO_ERROR on some platforms, gnunet, 2024/07/27
- [libmicrohttpd] 221/335: GENERATED: more edits, gnunet, 2024/07/27
- [libmicrohttpd] 227/335: -fix typo, gnunet, 2024/07/27
- [libmicrohttpd] 228/335: -fix typo,
gnunet <=
- [libmicrohttpd] 207/335: Renamed sys_socket_types.h -> sys_sockets_types.h, gnunet, 2024/07/27
- [libmicrohttpd] 234/335: Follow-up for 631d550d6ed81be0ebd5a06e107868e5153da430, gnunet, 2024/07/27
- [libmicrohttpd] 238/335: More portability, gnunet, 2024/07/27
- [libmicrohttpd] 212/335: configure: check for uintptr_t type, gnunet, 2024/07/27
- [libmicrohttpd] 214/335: configure: added check for various levels of compound literals support, gnunet, 2024/07/27
- [libmicrohttpd] 243/335: Copy-paste fixes, gnunet, 2024/07/27
- [libmicrohttpd] 225/335: Still WIP, gnunet, 2024/07/27
- [libmicrohttpd] 242/335: Fixes, gnunet, 2024/07/27
- [libmicrohttpd] 245/335: WIP-4, gnunet, 2024/07/27
- [libmicrohttpd] 231/335: WIP more, gnunet, 2024/07/27