From: Fabian Keil <fk@fabiankeil.de>
Date: Fri, 11 Sep 2020 12:49:35 +0000 (+0200)
Subject: ssl_send_certificate_error(): Fix format specifier in a log message
X-Git-Tag: v_3_0_29~114
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/developer-manual/man-page/faq/@default-cgi@?a=commitdiff_plain;h=e6ba01ae43adfab0a32d976d9aedacc22723ff2e;p=privoxy.git

ssl_send_certificate_error(): Fix format specifier in a log message
---

diff --git a/ssl_common.c b/ssl_common.c
index 6ad59241..c7bd538a 100644
--- a/ssl_common.c
+++ b/ssl_common.c
@@ -413,7 +413,7 @@ extern void ssl_send_certificate_error(struct client_state *csp)
 
    log_error(LOG_LEVEL_CRUNCH, "Certificate error: %s: https://%s%s",
       reason, csp->http->hostport, csp->http->path);
-   log_error(LOG_LEVEL_CLF, "%s - - [%T] \"%s https://%s%s %s\" 200 %u",
+   log_error(LOG_LEVEL_CLF, "%s - - [%T] \"%s https://%s%s %s\" 200 %lu",
       csp->ip_addr_str, csp->http->gpc, csp->http->hostport, csp->http->path,
       csp->http->version, message_len-head_length);