From: Fabian Keil Date: Fri, 11 Sep 2020 11:41:04 +0000 (+0200) Subject: get_reusable_connection(): Fix format specifier in a log message X-Git-Tag: v_3_0_29~139 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=fac48065f627c1f0faf80c86b2b64615e6f92b36 get_reusable_connection(): Fix format specifier in a log message --- diff --git a/gateway.c b/gateway.c index a805a8fb..67219537 100644 --- a/gateway.c +++ b/gateway.c @@ -493,7 +493,7 @@ static jb_socket get_reusable_connection(const struct http_request *http, reusable_connection[slot].in_use = TRUE; sfd = reusable_connection[slot].sfd; log_error(LOG_LEVEL_CONNECT, - "Found reusable socket %d for %s:%d in slot %d. Timestamp made %d " + "Found reusable socket %d for %s:%d in slot %d. Timestamp made %ld " "seconds ago. Timeout: %d. Latency: %d. Requests served: %d", sfd, reusable_connection[slot].host, reusable_connection[slot].port, slot, time(NULL) - reusable_connection[slot].timestamp,