gnunet-svn
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]