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) | |
download | snooze-5ae1ed39658d95d26fd5b0af235b1b72d7205015.tar.gz snooze-5ae1ed39658d95d26fd5b0af235b1b72d7205015.tar.xz snooze-5ae1ed39658d95d26fd5b0af235b1b72d7205015.zip |
more off-by-ones :(
-rw-r--r-- | snooze.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/snooze.c b/snooze.c index ef97098..c08cdc3 100644 --- a/snooze.c +++ b/snooze.c @@ -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}; |