gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 14/154: mhd_send.c: Try to guess the right


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 14/154: mhd_send.c: Try to guess the right branch to close.
Date: Mon, 19 Aug 2019 10:15:26 +0200

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

ng0 pushed a commit to branch master
in repository libmicrohttpd.

commit 9af4a482e857fd14b10a1bc52e71d971d9f081a7
Author: ng0 <address@hidden>
AuthorDate: Mon Jun 24 11:27:24 2019 +0000

    mhd_send.c: Try to guess the right branch to close.
---
 src/microhttpd/mhd_send.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index 02ffceaa..c3724cba 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -284,7 +284,7 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection,
 #if HAVE_WRITEV
   MHD_socket s = connection->socket_fd;
   bool have_cork, have_more;
-  int iovcnt, optval;
+  int iovcnt, optval, eno;
   struct iovec vector[2];
 
   have_cork = ! connection->sk_tcp_nodelay_on;
@@ -322,7 +322,7 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection,
   ret = writev (connection->socket_fd, vector, iovcnt);
 #if TCP_CORK
   {
-    int eno;
+    eno;
 
     eno = errno;
     if ((ret == header_len + buffer_len) && have_cork)
@@ -338,6 +338,7 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection,
     errno = eno;
   }
   return ret;
+#endif
 #else
   return MHD_send_on_connection_ (connection,
                                   header,

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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