X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=imap%2Fimap.c;h=e426e33b29e175b8c63753e4d5ab3e05d881370a;hp=9f356ba7af011a4ab381762f43b3e52c7953ac24;hb=f288d1771c814e6104da83e6f0f1761a40de1224;hpb=23e6291cb5d5b4cd2008403d8b628007fd75ff23 diff --git a/imap/imap.c b/imap/imap.c index 9f356ba..e426e33 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -11,14 +11,7 @@ /* Support for IMAP4rev1, with the occasional nod to IMAP 4. */ -#if HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include -#include +#include #include "mutt.h" #include "mx.h" @@ -32,15 +25,6 @@ #endif #include "buffy.h" -#include - -#include -#include -#include -#include -#include -#include - /* imap forward declarations */ static int imap_get_delim (IMAP_DATA * idata); static char *imap_get_flags (string_list_t ** hflags, char *s); @@ -73,7 +57,7 @@ int imap_access (const char *path, int flags __attribute__ ((unused))) imap_fix_path (idata, mx.mbox, mailbox, sizeof (mailbox)); /* we may already be in the folder we're checking */ - if (!ascii_strcmp(idata->mailbox, mx.mbox)) { + if (!m_strcmp(idata->mailbox, mx.mbox)) { p_delete(&mx.mbox); return 0; } @@ -1559,7 +1543,7 @@ int imap_complete (char *dest, size_t dlen, char *path) { completions++; } } - while (ascii_strncmp (idata->cmd.seq, idata->cmd.buf, SEQLEN)); + while (m_strncmp(idata->cmd.seq, idata->cmd.buf, SEQLEN)); if (completions) { /* reformat output */