X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=imap%2Fcommand.c;fp=imap%2Fcommand.c;h=8b937128fbbac2be7080cd4b4a631ebef13dc4db;hp=83ebbe73d00997f64b8d04d581f5d5362b9a91f4;hb=16536d59024177409f49134c3f03f69855c144b9;hpb=d776c6c67b63e05bd052fcedf77e9147560e83af diff --git a/imap/command.c b/imap/command.c index 83ebbe7..8b93712 100644 --- a/imap/command.c +++ b/imap/command.c @@ -125,7 +125,7 @@ int imap_cmd_step (IMAP_DATA * idata) idata->lastread = time (NULL); /* handle untagged messages. The caller still gets its shot afterwards. */ - if (!ascii_strncmp (cmd->buf, "* ", 2) && cmd_handle_untagged (idata)) + if (!m_strncmp(cmd->buf, "* ", 2) && cmd_handle_untagged (idata)) return IMAP_CMD_BAD; /* server demands a continuation response from us */ @@ -133,7 +133,7 @@ int imap_cmd_step (IMAP_DATA * idata) return IMAP_CMD_RESPOND; /* tagged completion code */ - if (!ascii_strncmp (cmd->buf, cmd->seq, SEQLEN)) { + if (!m_strncmp(cmd->buf, cmd->seq, SEQLEN)) { imap_cmd_finish (idata); return imap_code (cmd->buf) ? IMAP_CMD_OK : IMAP_CMD_NO; }