gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] branch master updated (35be224f -> 1d356a1f


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated (35be224f -> 1d356a1f)
Date: Mon, 05 Jun 2017 21:46:52 +0200

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

karlson2k pushed a change to branch master
in repository libmicrohttpd.

    from 35be224f run_tls_handshake(): refactoring: return false if data send 
is not (yet) allowed
     new 14222a6f Fixed typo in 730134054bb94b499adf4164c29d5346ff1fdec1
     new 1d356a1f MHD_connection_handle_write(): removed unused variable

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/microhttpd/connection.c       | 1 -
 src/microhttpd/connection_https.c | 6 +++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index cd8b5b04..1a692618 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -2852,7 +2852,6 @@ MHD_connection_handle_write (struct MHD_Connection 
*connection)
           if (connection->response_write_position <
               connection->response->total_size)
           {
-            int err;
             uint64_t data_write_offset;
 
             if (NULL != response->crc)
diff --git a/src/microhttpd/connection_https.c 
b/src/microhttpd/connection_https.c
index d345b9aa..9e7c1953 100644
--- a/src/microhttpd/connection_https.c
+++ b/src/microhttpd/connection_https.c
@@ -257,13 +257,13 @@ MHD_tls_connection_shutdown (struct MHD_Connection 
*connection)
     {
       const int res =
           gnutls_bye(connection->tls_session, GNUTLS_SHUT_WR);
-      if (GNUTLS_E_SUCCESS == ret)
+      if (GNUTLS_E_SUCCESS == res)
         {
           connection->tls_state = MHD_TLS_CONN_WR_CLOSED;
           return true;
         }
-      if ((GNUTLS_E_AGAIN == ret) ||
-          (GNUTLS_E_INTERRUPTED == ret))
+      if ((GNUTLS_E_AGAIN == res) ||
+          (GNUTLS_E_INTERRUPTED == res))
         {
           connection->tls_state = MHD_TLS_CONN_WR_CLOSING;
           return true;

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



reply via email to

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