projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more simplifications.
[apps/madmutt.git]
/
imap
/
command.c
diff --git
a/imap/command.c
b/imap/command.c
index
83ebbe7
..
8b93712
100644
(file)
--- 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. */
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 */
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 */
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;
}
imap_cmd_finish (idata);
return imap_code (cmd->buf) ? IMAP_CMD_OK : IMAP_CMD_NO;
}