[Privoxy-commits] [privoxy] 05/15: wolfSSL shutdown_connection(): Shorten an error message

User Git git at git.privoxy.org
Thu Oct 10 06:47:55 CEST 2024


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

git pushed a commit to branch master
in repository privoxy.

commit fd866cf6d4c3dd0c88f62a717988db5031720e22
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Tue Apr 9 11:47:08 2024 +0200

    wolfSSL shutdown_connection(): Shorten an error message
    
    ... to not include the return code which is always -1.
---
 wolfssl.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/wolfssl.c b/wolfssl.c
index 78880bec..eade5f6e 100644
--- a/wolfssl.c
+++ b/wolfssl.c
@@ -949,8 +949,7 @@ static void shutdown_connection(WOLFSSL *ssl, const char *type)
       if (WOLFSSL_SUCCESS != ret)
       {
          log_error(LOG_LEVEL_CONNECT, "Failed to shutdown %s connection "
-            "on socket %d. Attempts so far: %d, ret: %d", type, fd,
-            shutdown_attempts, ret);
+            "on socket %d. Attempts so far: %d.", type, fd, shutdown_attempts);
       }
    } while (ret == WOLFSSL_SHUTDOWN_NOT_DONE &&
       shutdown_attempts < MAX_SHUTDOWN_ATTEMPTS);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list