[Privoxy-commits] [privoxy] 08/30: read_http_request_body(): Fix two error messages that used an incorrect variable
User Git
git at git.privoxy.org
Thu Nov 11 04:41:58 UTC 2021
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit a9937fa4dd4a174e609bb304f5d7f874f4c4c3a6
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sat Mar 27 05:49:05 2021 +0100
read_http_request_body(): Fix two error messages that used an incorrect variable
---
jcc.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/jcc.c b/jcc.c
index 5ddf1842..224e28d8 100644
--- a/jcc.c
+++ b/jcc.c
@@ -2080,12 +2080,13 @@ static int read_http_request_body(struct client_state *csp)
if (to_read != 0)
{
- log_error(LOG_LEVEL_CONNECT, "Not enough request body has been read: expected %llu more bytes",
- csp->expected_client_content_length);
+ log_error(LOG_LEVEL_CONNECT,
+ "Not enough request body has been read: expected %lu more bytes",
+ to_read);
return 1;
}
- log_error(LOG_LEVEL_CONNECT, "The last %llu bytes of the request body have been read",
- csp->expected_client_content_length);
+ log_error(LOG_LEVEL_CONNECT,
+ "The last %d bytes of the request body have been read", len);
return 0;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list