X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=imap%2Fbrowse.c;h=a3807b6bb6cc1add0e46b72779d29d4d0523b77b;hp=96eb8b995dfe77500b990758dc61532ceb96e935;hb=f288d1771c814e6104da83e6f0f1761a40de1224;hpb=230399f9632c37b66c1c117a17e8327eae6b3235 diff --git a/imap/browse.c b/imap/browse.c index 96eb8b9..a3807b6 100644 --- a/imap/browse.c +++ b/imap/browse.c @@ -10,18 +10,10 @@ /* Mutt browser support routines */ -#if HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include - #include #include - #include "mutt.h" #include "imap_private.h" @@ -120,8 +112,7 @@ int imap_browse (char *path, struct browser_state *state) mbox[n] = '\0'; } } - } - while (ascii_strncmp (idata->cmd.buf, idata->cmd.seq, SEQLEN)); + } while (m_strncmp(idata->cmd.buf, idata->cmd.seq, SEQLEN)); } /* if we're descending a folder, mark it as current in browser_state */ @@ -354,8 +345,7 @@ static int browse_add_list_result (IMAP_DATA * idata, const char *cmd, imap_add_folder (idata->delim, name, noselect, noinferiors, state, isparent); } - } - while ((ascii_strncmp (idata->cmd.buf, idata->cmd.seq, SEQLEN) != 0)); + } while ((m_strncmp(idata->cmd.buf, idata->cmd.seq, SEQLEN) != 0)); p_delete(&mx.mbox); return 0; @@ -551,8 +541,7 @@ static int browse_verify_namespace (IMAP_DATA * idata, &nsi->noinferiors, &delim) != 0) return -1; nsi->listable |= (name != NULL); - } - while ((ascii_strncmp (idata->cmd.buf, idata->cmd.seq, SEQLEN) != 0)); + } while ((m_strncmp(idata->cmd.buf, idata->cmd.seq, SEQLEN) != 0)); } return 0;