projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0edfbba
)
send_https_request(): Fix format specifiers in log messages
author
Fabian Keil
<fk@fabiankeil.de>
Fri, 11 Sep 2020 11:53:25 +0000
(13:53 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Fri, 11 Sep 2020 14:35:40 +0000
(16:35 +0200)
jcc.c
patch
|
blob
|
history
diff --git
a/jcc.c
b/jcc.c
index
2f83e92
..
b53aa31
100644
(file)
--- a/
jcc.c
+++ b/
jcc.c
@@
-2159,14
+2159,14
@@
static int send_https_request(struct client_state *csp)
if (csp->expected_client_content_length < flushed)
{
log_error(LOG_LEVEL_ERROR,
if (csp->expected_client_content_length < flushed)
{
log_error(LOG_LEVEL_ERROR,
- "Flushed %d bytes of request body while only expecting %llu",
+ "Flushed %
l
d bytes of request body while only expecting %llu",
flushed, csp->expected_client_content_length);
csp->expected_client_content_length = 0;
}
else
{
log_error(LOG_LEVEL_CONNECT,
flushed, csp->expected_client_content_length);
csp->expected_client_content_length = 0;
}
else
{
log_error(LOG_LEVEL_CONNECT,
- "Flushed %d bytes of request body while expecting %llu",
+ "Flushed %
l
d bytes of request body while expecting %llu",
flushed, csp->expected_client_content_length);
csp->expected_client_content_length -= (unsigned)flushed;
if (receive_and_send_encrypted_post_data(csp))
flushed, csp->expected_client_content_length);
csp->expected_client_content_length -= (unsigned)flushed;
if (receive_and_send_encrypted_post_data(csp))
@@
-2178,7
+2178,7
@@
static int send_https_request(struct client_state *csp)
else
{
log_error(LOG_LEVEL_CONNECT,
else
{
log_error(LOG_LEVEL_CONNECT,
- "Flushed %d bytes of request body", flushed);
+ "Flushed %
l
d bytes of request body", flushed);
}
}
}
}