X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=complete.c;h=b0c96cfa68e383ca1cf7e50603fd18b49f999043;hp=f26691e8c9cb0a6138e13075dad98e1d54f59e42;hb=972ceaccdfed1c8c4a665b2ecb9683d140fdeda2;hpb=0f44dc85fc1280372ffab911d701e703d803fb4b diff --git a/complete.c b/complete.c index f26691e..b0c96cf 100644 --- a/complete.c +++ b/complete.c @@ -13,7 +13,7 @@ #include "mutt.h" #ifdef USE_IMAP -#include "mailbox.h" +#include "mx.h" #include "imap.h" #endif #ifdef USE_NNTP @@ -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