projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3ed51f2
)
filter_header(): Fix format specifiers in two log messages
author
Fabian Keil
<fk@fabiankeil.de>
Fri, 11 Sep 2020 12:34:39 +0000
(14:34 +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
c6f50eb
..
2342937
100644
(file)
--- a/
parsers.c
+++ b/
parsers.c
@@
-1667,7
+1667,7
@@
static jb_err filter_header(struct client_state *csp, char **header)
continue;
}
continue;
}
- log_error(LOG_LEVEL_RE_FILTER, "filtering \'%s\' (size %
d
) with \'%s\' ...",
+ log_error(LOG_LEVEL_RE_FILTER, "filtering \'%s\' (size %
lu
) with \'%s\' ...",
*header, size, b->name);
/* Apply all jobs from the joblist */
*header, size, b->name);
/* Apply all jobs from the joblist */
@@
-1701,7
+1701,8
@@
static jb_err filter_header(struct client_state *csp, char **header)
if (b->dynamic) pcrs_free_joblist(joblist);
if (b->dynamic) pcrs_free_joblist(joblist);
- log_error(LOG_LEVEL_RE_FILTER, "... produced %d hits (new size %d).", current_hits, size);
+ log_error(LOG_LEVEL_RE_FILTER,
+ "... produced %d hits (new size %lu).", current_hits, size);
hits += current_hits;
}
hits += current_hits;
}