gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 02/154: mhd_send


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 02/154: mhd_send
Date: Mon, 19 Aug 2019 10:15:14 +0200

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

ng0 pushed a commit to branch master
in repository libmicrohttpd.

commit 9914221301c6b9119c6db07343123e081e87e555
Author: ng0 <address@hidden>
AuthorDate: Mon Jun 17 16:44:27 2019 +0000

    mhd_send
---
 src/microhttpd/mhd_send.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index abfe2783..2770c921 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -98,7 +98,7 @@ MHD_send_on_connection_ (struct MHD_Connection *connection,
   {
   /* No corking */
   case 0:
-    if (false == connection->sk_tcp_nodelay_on)
+    if (! connection->sk_tcp_nodelay_on)
     {
       opt1 = 1;
       opt2 = sizeof (int);
@@ -129,7 +129,7 @@ MHD_send_on_connection_ (struct MHD_Connection *connection,
      * This means we want to enable corking.
      * Check if our corking boolean is not already set.
      */
-    if (false == connection->sk_tcp_cork_nopush_on)
+    if (! connection->sk_tcp_cork_nopush_on)
     {
       /* 
        * corking boolean is false. We want to enable
@@ -158,7 +158,7 @@ MHD_send_on_connection_ (struct MHD_Connection *connection,
      * for send() and keep the socket on NODELAY.
      * Check if our nodelay boolean is false.
      */
-    if (false == connection->sk_tcp_nodelay_on)
+    if (! connection->sk_tcp_nodelay_on)
     {
       /*
        * If we have MSG_MORE, keep the
@@ -190,7 +190,7 @@ MHD_send_on_connection_ (struct MHD_Connection *connection,
       if ((! 100_Continue) && (sending_header))
       {
         // uncork
-        if (true == connection->sk_tcp_cork_nopush_on)
+        if (connection->sk_tcp_cork_nopush_on)
         {
           opt1 = 0;
           opt2 = sizeof (int);

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



reply via email to

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