about summary refs log tree commit diff
path: root/blaze822.c
diff options
context:
space:
mode:
Diffstat (limited to 'blaze822.c')
-rw-r--r--blaze822.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/blaze822.c b/blaze822.c
index f6b9130..7c8821e 100644
--- a/blaze822.c
+++ b/blaze822.c
@@ -119,6 +119,8 @@ blaze822_date(char *s) {
 	if (*s++ == ':') {
 		if ((c = parse_posint(&s, 0, 61)) < 0) goto fail;
 		tm.tm_sec = c;
+	} else {
+		tm.tm_sec = 0;
 	}
 
 	while (iswsp(*s))