X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=imap%2Fbrowse.c;fp=imap%2Fbrowse.c;h=a3807b6bb6cc1add0e46b72779d29d4d0523b77b;hp=46730fde81a8f9b9e682fc3368ea0a970c15bbfa;hb=16536d59024177409f49134c3f03f69855c144b9;hpb=d776c6c67b63e05bd052fcedf77e9147560e83af diff --git a/imap/browse.c b/imap/browse.c index 46730fd..a3807b6 100644 --- a/imap/browse.c +++ b/imap/browse.c @@ -112,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 */ @@ -346,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; @@ -543,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;