diff options
author | Leah Neukirchen <leah@vuxu.org> | 2018-05-03 18:41:51 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2018-05-03 18:41:51 +0200 |
commit | 5ae1ed39658d95d26fd5b0af235b1b72d7205015 (patch) | |
tree | 63fa3253ee5cbfa2df239a77aac88ac61ac3b819 | |
parent | 00c19ecc0cdca3081f619d901174df441334437c (diff) |
more off-by-ones :(
-rw-r--r-- | snooze.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -140,8 +140,8 @@ parse(char *expr, char *buf, long bufsiz, int offset) } char weekday[8] = {0}; -char dayofmonth[31] = {0}; -char month[12] = {0}; +char dayofmonth[32] = {0}; +char month[13] = {0}; char dayofyear[367] = {0}; char weekofyear[54] = {0}; char hour[24] = {0}; |