projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
filter_header(): Fix format specifiers in two log messages
[privoxy.git]
/
parsers.c
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;
}