From 8724b4a7a74486a62b801c11a4fcd394db04ecc9 Mon Sep 17 00:00:00 2001 From: Joseph Bisch Date: Fri, 31 Mar 2017 20:06:14 +0000 Subject: [PATCH] Merge branch 'off-by-one-fix' into 'master' Fix off by one error with char_expandos See merge request !11 (cherry picked from commit d5e23f97a7f98177bedc1842430a1199785bee20) --- src/core/expandos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/expandos.c b/src/core/expandos.c index 67aea837..2e4265d5 100644 --- a/src/core/expandos.c +++ b/src/core/expandos.c @@ -51,7 +51,7 @@ const char *current_expando = NULL; static int timer_tag; -static EXPANDO_REC *char_expandos[255]; +static EXPANDO_REC *char_expandos[256]; static GHashTable *expandos; static char *last_sent_msg, *last_sent_msg_body; static char *last_privmsg_from, *last_public_from;