X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=imap%2Fimap.c;h=e426e33b29e175b8c63753e4d5ab3e05d881370a;hp=da965d924e43aa8e9803bda005afb3df5d255068;hb=2ce8de509852f47a90f834b3e8d047e054810309;hpb=230399f9632c37b66c1c117a17e8327eae6b3235 diff --git a/imap/imap.c b/imap/imap.c index da965d9..e426e33 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -11,17 +11,6 @@ /* Support for IMAP4rev1, with the occasional nod to IMAP 4. */ -#if HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include -#include -#include -#include - #include #include "mutt.h" @@ -68,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; } @@ -1554,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 */