X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=imap%2Fimap.c;h=c609366af748b75804fbabaccfd994f7f6f28c75;hp=b97cea02f3e0d8267b9df2d208fe0cce6ce7c113;hb=39d11f5b3feb125654d5c2a4e8f93637a12706c3;hpb=b2f6783657f7f0cef2c4dc09966515f478030b0b diff --git a/imap/imap.c b/imap/imap.c index b97cea0..c609366 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -1392,14 +1392,14 @@ int imap_complete (char *dest, size_t dlen, char *path) /* if the folder isn't selectable, append delimiter to force browse * to enter it on second tab. */ if (noselect) { - clen = strlen (list_word); + clen = mutt_strlen (list_word); list_word[clen++] = delim; list_word[clen] = '\0'; } /* copy in first word */ if (!completions) { strfcpy (completion, list_word, sizeof (completion)); - matchlen = strlen (completion); + matchlen = mutt_strlen (completion); completions++; continue; }