aboutsummaryrefslogtreecommitdiff
path: root/src/libhttpd/date.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libhttpd/date.c')
-rw-r--r--src/libhttpd/date.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libhttpd/date.c b/src/libhttpd/date.c
index 450f60f7..33349578 100644
--- a/src/libhttpd/date.c
+++ b/src/libhttpd/date.c
@@ -197,6 +197,7 @@ hdate2sec(char *date)
strcpy(tm.zone, "GMT");
tm.tzoff = 0;
+ tm.yday = 0;
return tm2sec(&tm);
}