projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
449cdcd
)
add_to_iob(): Fix format specifiers in a log message
author
Fabian Keil
<fk@fabiankeil.de>
Fri, 11 Sep 2020 12:04:30 +0000
(14:04 +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
48195f8
..
cafbd36
100644
(file)
--- a/
parsers.c
+++ b/
parsers.c
@@
-326,7
+326,7
@@
jb_err add_to_iob(struct iob *iob, const size_t buffer_limit, char *src, long n)
if (need > buffer_limit)
{
log_error(LOG_LEVEL_INFO,
- "Buffer limit reached while extending the buffer (iob). Needed: %
d. Limit: %d
",
+ "Buffer limit reached while extending the buffer (iob). Needed: %
lu. Limit: %lu
",
need, buffer_limit);
return JB_ERR_MEMORY;
}