gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] branch master updated: daemon.c: Fixed copy-paste error


From: gnunet
Subject: [libmicrohttpd] branch master updated: daemon.c: Fixed copy-paste error
Date: Mon, 21 Dec 2020 23:32:39 +0100

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new eaae7f5c daemon.c: Fixed copy-paste error
eaae7f5c is described below

commit eaae7f5c54f8ac55785fdd25a59216b80801ea77
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Dec 22 01:32:00 2020 +0300

    daemon.c: Fixed copy-paste error
---
 src/microhttpd/daemon.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index e308eec4..5fab773c 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -3359,7 +3359,7 @@ MHD_add_connection (struct MHD_Daemon *daemon,
   sk_spipe_supprs = true; /* Nothing to suppress on W32 */
 #endif /* MHD_WINSOCK_SOCKETS */
 #if defined(MHD_socket_nosignal_)
-  if (! sk_spipe_supprs && ! MHD_socket_nosignal_ (s))
+  if (! sk_spipe_supprs && ! MHD_socket_nosignal_ (client_socket))
   {
 #ifdef HAVE_MESSAGES
     MHD_DLOG (daemon,
@@ -3375,7 +3375,7 @@ MHD_add_connection (struct MHD_Daemon *daemon,
     if (! daemon->sigpipe_blocked)
     {
       int err = MHD_socket_get_error_ ();
-      MHD_socket_close_ (s);
+      MHD_socket_close_ (client_socket);
       MHD_socket_fset_error_ (err);
       return MHD_NO;
     }

-- 
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]