gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 02/10: Upgraded connection: cosmetics


From: gnunet
Subject: [libmicrohttpd] 02/10: Upgraded connection: cosmetics
Date: Wed, 01 Nov 2023 11:52:17 +0100

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit e60359c0b39da49350dee1495702a586ce64532f
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Oct 10 20:38:32 2023 +0300

    Upgraded connection: cosmetics
---
 src/microhttpd/daemon.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 09d58b8e..69e241c0 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -1424,10 +1424,8 @@ process_urh (struct MHD_UpgradeResponseHandle *urh)
     else   /* 0 < res */
     {
       urh->in_buffer_used += (size_t) res;
-      if (0 < gnutls_record_check_pending (connection->tls_session))
-      {
-        connection->tls_read_ready = true;
-      }
+      connection->tls_read_ready =
+        (0 < gnutls_record_check_pending (connection->tls_session));
     }
     if (MHD_EPOLL_STATE_ERROR ==
         ((MHD_EPOLL_STATE_ERROR | MHD_EPOLL_STATE_READ_READY) & urh->app.celi))
@@ -1593,7 +1591,7 @@ process_urh (struct MHD_UpgradeResponseHandle *urh)
                     (uint64_t) urh->in_buffer_used,
                     MHD_socket_strerr_ (err));
 #endif
-          /* Discard any data received form remote. */
+          /* Discard any data received from remote. */
           urh->in_buffer_used = 0;
           /* Reading from remote client is not required anymore. */
           urh->in_buffer_size = 0;

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