gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 01/02: Fixed typo in 730134054bb94b499adf41


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 01/02: Fixed typo in 730134054bb94b499adf4164c29d5346ff1fdec1
Date: Mon, 05 Jun 2017 21:46:53 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 14222a6fae4a7535428f381a2599877f65848af2
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Mon Jun 5 22:39:03 2017 +0300

    Fixed typo in 730134054bb94b499adf4164c29d5346ff1fdec1
---
 src/microhttpd/connection_https.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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]