X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=imap%2Futil.c;fp=imap%2Futil.c;h=3f14b787e3a3e2a974d30fee3137ce3dc4373937;hp=fb4c503bedb2b715d353caca3b0f94470e1a0ea2;hb=688ac22f746f785c27ac99ac86aa85a3035a3638;hpb=9f1dbdb74d7ca296eaa5fcf45243f7e376d35eab diff --git a/imap/util.c b/imap/util.c index fb4c503..3f14b78 100644 --- a/imap/util.c +++ b/imap/util.c @@ -408,12 +408,12 @@ void imap_unmunge_mbox_name (char *s) /* imap_wordcasecmp: find word a in word list b */ int imap_wordcasecmp (const char *a, const char *b) { - char tmp[SHORT_STRING]; + char tmp[STRING]; char *s = (char *) b; int i; - tmp[SHORT_STRING - 1] = 0; - for (i = 0; i < SHORT_STRING - 2; i++, s++) { + tmp[STRING - 1] = 0; + for (i = 0; i < STRING - 2; i++, s++) { if (!*s || ISSPACE (*s)) { tmp[i] = 0; break;