X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=sidebyside;f=imap%2Fimap.c;h=6f5031710bd68f25a8fdae2030e63ffd84e1ca42;hb=2ea77d3b2827ba23feb756ce2fb936565ae38998;hp=394545623e9ab9dac3ec5ec6ae858845d83b39c1;hpb=9274cbe8e6410ddb95ddc667faa678a29da85420;p=apps%2Fmadmutt.git diff --git a/imap/imap.c b/imap/imap.c index 3945456..6f50317 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -18,9 +18,9 @@ #include #include #include +#include #include "mutt.h" -#include "buffer.h" #include "mx.h" #include "globals.h" #include "sort.h" @@ -1181,7 +1181,7 @@ int imap_mailbox_check (char *path, int new) * command on a mailbox that you have selected */ - if (str_cmp (mbox_unquoted, idata->mailbox) == 0 + if (m_strcmp(mbox_unquoted, idata->mailbox) == 0 || (ascii_strcasecmp (mbox_unquoted, "INBOX") == 0 && str_casecmp (mbox_unquoted, idata->mailbox) == 0)) { strfcpy (buf, "NOOP", sizeof (buf));