summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-05-03 18:41:51 +0200
committerLeah Neukirchen <leah@vuxu.org>2018-05-03 18:41:51 +0200
commit5ae1ed39658d95d26fd5b0af235b1b72d7205015 (patch)
tree63fa3253ee5cbfa2df239a77aac88ac61ac3b819
parent00c19ecc0cdca3081f619d901174df441334437c (diff)
more off-by-ones :(
-rw-r--r--snooze.c4
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};