socks5_connect(): Fix format specifier in a log message
[privoxy.git] / gateway.c
index 6721953..4207cb7 100644 (file)
--- a/gateway.c
+++ b/gateway.c
@@ -1193,7 +1193,7 @@ static jb_socket socks5_connect(const struct forward_spec *fwd,
       header_length= strlen(client_headers);
 
       log_error(LOG_LEVEL_CONNECT,
-         "Optimistically sending %d bytes of client headers intended for %s",
+         "Optimistically sending %lu bytes of client headers intended for %s",
          header_length, csp->http->hostport);
 
       if (write_socket(sfd, client_headers, header_length))