diff options
Diffstat (limited to 'snooze.c')
-rw-r--r-- | snooze.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -113,7 +113,8 @@ parse(char *expr, char *buf, long bufsiz, int offset) case '/': s++; n0 = n; - n = parse_int(&s, -offset, bufsiz); + if (*s) + n = parse_int(&s, -offset, bufsiz); if (n == 0) // / = * n = 1; for (i = n0; i < bufsiz; i += n) |