blaze822: default to 0 seconds when none given

pull/1/merge
Christian Neukirchen 8 years ago
parent 44f781db44
commit 4805ef9cce

@ -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))

Loading…
Cancel
Save