projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7b9c359
)
decompress_iob_with_brotli(): Fix format specifiers in two log messages
author
Fabian Keil
<fk@fabiankeil.de>
Fri, 11 Sep 2020 12:06:26 +0000
(14:06 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Fri, 11 Sep 2020 14:35:40 +0000
(16:35 +0200)
parsers.c
patch
|
blob
|
history
diff --git
a/parsers.c
b/parsers.c
index
cafbd36
..
7418a60
100644
(file)
--- a/
parsers.c
+++ b/
parsers.c
@@
-440,7
+440,7
@@
static jb_err decompress_iob_with_brotli(struct client_state *csp)
if (decoded_buffer == NULL)
{
log_error(LOG_LEVEL_ERROR,
if (decoded_buffer == NULL)
{
log_error(LOG_LEVEL_ERROR,
- "Failed to allocate %
d
bytes for Brotli decompression",
+ "Failed to allocate %
lu
bytes for Brotli decompression",
decoded_buffer_size);
return JB_ERR_MEMORY;
}
decoded_buffer_size);
return JB_ERR_MEMORY;
}
@@
-461,7
+461,7
@@
static jb_err decompress_iob_with_brotli(struct client_state *csp)
csp->iob->size = decoded_buffer_size;
log_error(LOG_LEVEL_RE_FILTER,
csp->iob->size = decoded_buffer_size;
log_error(LOG_LEVEL_RE_FILTER,
- "Decompression successful. Old size: %
d, new size: %d
.",
+ "Decompression successful. Old size: %
lu, new size: %lu
.",
encoded_size, decoded_size);
return JB_ERR_OK;
encoded_size, decoded_size);
return JB_ERR_OK;