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

diff --git a/jcc.c b/jcc.c
index e78b901..2f83e92 100644 (file)
--- a/jcc.c
+++ b/jcc.c
@@ -1548,7 +1548,7 @@ static jb_err receive_chunked_client_request_body(struct client_state *csp)
       return JB_ERR_PARSE;
    }
    log_error(LOG_LEVEL_CONNECT,
-      "Chunked client body completely read. Length: %d", body_length);
+      "Chunked client body completely read. Length: %lu", body_length);
    csp->expected_client_content_length = body_length;
 
    return JB_ERR_OK;