stupid off by one: skip the last ')' in a comment !
[apps/madmutt.git] / imap / util.c
index abcbe2b..3f14b78 100644 (file)
@@ -14,9 +14,9 @@
 #include <lib-lib/lib-lib.h>
 #include <signal.h>
 #include <netdb.h>
+#include <lib-mx/mx.h>
 
 #include "mutt.h"
-#include "mx.h"                 /* for M_IMAP */
 #include "imap_private.h"
 #include <lib-sys/mutt_ssl.h>
 
@@ -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;