From f8db6aea8837f89ecfb6582b6d2e875d9dbede26 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 11 Sep 2020 13:44:02 +0200 Subject: [PATCH] accept_connection(): Fix format specifier in a log message --- jbsockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jbsockets.c b/jbsockets.c index ed9f9eae..f3f5750e 100644 --- a/jbsockets.c +++ b/jbsockets.c @@ -1440,7 +1440,7 @@ int accept_connection(struct client_state * csp, jb_socket fds[]) { log_error(LOG_LEVEL_ERROR, "Server name (%s) and port number (%d) ASCII decimal representation" - "don't fit into %d bytes", + "don't fit into %lu bytes", host_addr, csp->config->hport[i], listen_addr_size); return 0; } -- 2.39.2