From e4bb29e3bfe12d779f7d3b2a95ece907d0725ede Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 11 Sep 2020 13:40:49 +0200 Subject: [PATCH 1/1] close_unusable_connections(): Fix format specifier in a log message --- gateway.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway.c b/gateway.c index 9b21aa53..a805a8fb 100644 --- a/gateway.c +++ b/gateway.c @@ -425,7 +425,7 @@ int close_unusable_connections(void) { log_error(LOG_LEVEL_CONNECT, "The connection to %s:%d in slot %d timed out. " - "Closing socket %d. Timeout is: %d. Assumed latency: %d.", + "Closing socket %d. Timeout is: %d. Assumed latency: %ld.", reusable_connection[slot].host, reusable_connection[slot].port, slot, reusable_connection[slot].sfd, -- 2.39.2