X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=imap%2Fcommand.c;fp=imap%2Fcommand.c;h=36762a16e4ef34bc29b6a249d98758b2a3a48e6a;hp=02d49d7f357c7b192c651e426ad8c66d15c4f004;hb=7f7a0be369840b290248e5b0302beb447fa1b3cd;hpb=308c7080ccca40d4865d8810f5528331d9ed61ff diff --git a/imap/command.c b/imap/command.c index 02d49d7..36762a1 100644 --- a/imap/command.c +++ b/imap/command.c @@ -74,7 +74,7 @@ int imap_cmd_start (IMAP_DATA * idata, const char *cmd) cmd_make_sequence (idata); /* seq, space, cmd, \r\n\0 */ - outlen = str_len (idata->cmd.seq) + str_len (cmd) + 4; + outlen = m_strlen(idata->cmd.seq) + m_strlen(cmd) + 4; out = p_new(char, outlen); snprintf (out, outlen, "%s %s\r\n", idata->cmd.seq, cmd); @@ -188,7 +188,7 @@ int imap_exec (IMAP_DATA * idata, const char *cmd, int flags) /* create sequence for command */ cmd_make_sequence (idata); /* seq, space, cmd, \r\n\0 */ - outlen = str_len (idata->cmd.seq) + str_len (cmd) + 4; + outlen = m_strlen(idata->cmd.seq) + m_strlen(cmd) + 4; out = p_new(char, outlen); snprintf (out, outlen, "%s %s\r\n", idata->cmd.seq, cmd); @@ -434,7 +434,7 @@ static void cmd_parse_capabilities (IMAP_DATA * idata, char *s) s = imap_next_word (s); p_delete(&idata->capstr); - idata->capstr = str_dup (s); + idata->capstr = m_strdup(s); memset (idata->capabilities, 0, sizeof (idata->capabilities));