From: Fabian Keil Date: Tue, 9 Apr 2024 09:47:08 +0000 (+0200) Subject: wolfSSL shutdown_connection(): Shorten an error message X-Git-Tag: v_4_0_0~60^2~16 X-Git-Url: http://www.privoxy.org/gitweb/user-manual/$4?a=commitdiff_plain;h=fd866cf6d4c3dd0c88f62a717988db5031720e22;p=privoxy.git wolfSSL shutdown_connection(): Shorten an error message ... to not include the return code which is always -1. --- 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);