From: Fabian Keil <fk@fabiankeil.de>
Date: Fri, 11 Sep 2020 11:44:02 +0000 (+0200)
Subject: accept_connection(): Fix format specifier in a log message
X-Git-Tag: v_3_0_29~137
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/user-manual/developer-manual/diff?a=commitdiff_plain;h=f8db6aea8837f89ecfb6582b6d2e875d9dbede26;p=privoxy.git

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

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;
    }