X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=complete.c;h=b0c96cfa68e383ca1cf7e50603fd18b49f999043;hp=b84d0b1364befb9b92a19d85b4af84ec98bf4371;hb=972ceaccdfed1c8c4a665b2ecb9683d140fdeda2;hpb=ee1d4d931ca3ebec494694b74a1868a7a2e631e3 diff --git a/complete.c b/complete.c index b84d0b1..b0c96cf 100644 --- a/complete.c +++ b/complete.c @@ -112,7 +112,7 @@ int mutt_complete (char *s, size_t slen) else strfcpy (imap_path, s, sizeof (imap_path)); - if (mx_is_imap (imap_path)) + if (mx_get_magic (imap_path) == M_IMAP) return imap_complete (s, slen, imap_path); #endif