From e6ba01ae43adfab0a32d976d9aedacc22723ff2e Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 11 Sep 2020 14:49:35 +0200 Subject: [PATCH] ssl_send_certificate_error(): Fix format specifier in a log message --- ssl_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2