blob: be1c4becede1a9263bb416003a523cadf6356ebd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Author: Steve Kemp <skx@debian.org>
Description: urlsnarf: zero-pad date, Closes #298605.
--- a/urlsnarf.c 2011-06-19 17:15:01.103999376 -0500
+++ b/urlsnarf.c 2011-06-19 17:15:08.631999375 -0500
@@ -68,7 +68,7 @@
t->tm_hour - gmt.tm_hour);
tz = hours * 60 + t->tm_min - gmt.tm_min;
- len = strftime(tstr, sizeof(tstr), "%e/%b/%Y:%X", t);
+ len = strftime(tstr, sizeof(tstr), "%d/%b/%Y:%X", t);
if (len < 0 || len > sizeof(tstr) - 5)
return (NULL);
|