projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5026f05
)
parse_header_time(): Fix format specifiers in a log message
author
Fabian Keil
<fk@fabiankeil.de>
Fri, 11 Sep 2020 12:41:31 +0000
(14:41 +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
4908f27
..
06f1ae8
100644
(file)
--- a/
parsers.c
+++ b/
parsers.c
@@
-4497,7
+4497,7
@@
static jb_err parse_header_time(const char *header_time, time_t *result)
if (*result != result2)
{
log_error(LOG_LEVEL_ERROR, "strftime() and strptime() disagree. "
- "Format: '%s'. In: '%s', out: '%s'. %
d != %
d. Rejecting.",
+ "Format: '%s'. In: '%s', out: '%s'. %
ld != %l
d. Rejecting.",
time_formats[i], header_time, recreated_date, *result, result2);
continue;
}