accept_connection(): Fix format specifier in a log message
authorFabian Keil <fk@fabiankeil.de>
Fri, 11 Sep 2020 11:44:02 +0000 (13:44 +0200)
committerFabian Keil <fk@fabiankeil.de>
Fri, 11 Sep 2020 14:35:40 +0000 (16:35 +0200)
jbsockets.c

index ed9f9ea..f3f5750 100644 (file)
@@ -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;
    }