gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 01/03: mhd_send: fixed log messaged broken by 99f2df6dea


From: gnunet
Subject: [libmicrohttpd] 01/03: mhd_send: fixed log messaged broken by 99f2df6dea40624ff82b00ebe362e587f722985f
Date: Sat, 17 Apr 2021 15:53:39 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit abb47a11eced8d66dcf13183c264b8119db8923c
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Apr 17 16:45:29 2021 +0300

    mhd_send: fixed log messaged broken by 
99f2df6dea40624ff82b00ebe362e587f722985f
---
 src/microhttpd/mhd_send.c | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index 793df8d0..62f94e59 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -265,7 +265,11 @@ connection_set_cork_state_ (struct MHD_Connection 
*connection,
       MHD_DLOG (connection->daemon,
                 _ ("Setting %s option to %s state failed "
                    "for TCP/IP socket %d: %s\n"),
-                "TCP_NODELAY",
+#ifdef TCP_CORK
+                "TCP_CORK",
+#else  /* ! TCP_CORK */
+                "TCP_NOPUSH",
+#endif /* ! TCP_CORK */
                 nodelay_state ? _ ("ON") : _ ("OFF"),
                 (int) connection->socket_fd,
                 MHD_socket_strerr_ (err_code));
@@ -277,7 +281,11 @@ connection_set_cork_state_ (struct MHD_Connection 
*connection,
   {
     MHD_DLOG (connection->daemon,
               _ ("Setting %s option to %s state failed: %s\n"),
-              "TCP_NODELAY",
+#ifdef TCP_CORK
+              "TCP_CORK",
+#else  /* ! TCP_CORK */
+              "TCP_NOPUSH",
+#endif /* ! TCP_CORK */
               nodelay_state ? _ ("ON") : _ ("OFF"),
               MHD_socket_strerr_ (err_code));
   }

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