projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
comments
[apps/madmutt.git]
/
imap
/
util.c
diff --git
a/imap/util.c
b/imap/util.c
index
abcbe2b
..
3f14b78
100644
(file)
--- a/
imap/util.c
+++ b/
imap/util.c
@@
-14,9
+14,9
@@
#include <lib-lib/lib-lib.h>
#include <signal.h>
#include <netdb.h>
#include <lib-lib/lib-lib.h>
#include <signal.h>
#include <netdb.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
#include "mutt.h"
-#include "mx.h" /* for M_IMAP */
#include "imap_private.h"
#include <lib-sys/mutt_ssl.h>
#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)
{
/* imap_wordcasecmp: find word a in word list b */
int imap_wordcasecmp (const char *a, const char *b)
{
- char tmp[S
HORT_S
TRING];
+ char tmp[STRING];
char *s = (char *) b;
int i;
char *s = (char *) b;
int i;
- tmp[S
HORT_S
TRING - 1] = 0;
- for (i = 0; i < S
HORT_S
TRING - 2; i++, s++) {
+ tmp[STRING - 1] = 0;
+ for (i = 0; i < STRING - 2; i++, s++) {
if (!*s || ISSPACE (*s)) {
tmp[i] = 0;
break;
if (!*s || ISSPACE (*s)) {
tmp[i] = 0;
break;