X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=imap%2Fcommand.c;h=8b937128fbbac2be7080cd4b4a631ebef13dc4db;hb=d63fe782146b7e2860d45fd6c2cf5369d9b0a87a;hp=e53d378b59d2fc0fd6b97587063a79559380e866;hpb=230399f9632c37b66c1c117a17e8327eae6b3235;p=apps%2Fmadmutt.git diff --git a/imap/command.c b/imap/command.c index e53d378..8b93712 100644 --- a/imap/command.c +++ b/imap/command.c @@ -12,10 +12,6 @@ /* command.c: routines for sending commands to an IMAP server and parsing * responses */ -#if HAVE_CONFIG_H -# include "config.h" -#endif - #include #include "mutt.h" @@ -129,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 */ @@ -137,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; }