From: Rado S Date: Wed, 14 Mar 2007 19:39:11 +0000 (-0700) Subject: Let imap_conn_find have first crack at completion of root X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e495f5f583dc33bb110bdcf36f50ea219abf1955;p=neomutt Let imap_conn_find have first crack at completion of root --- diff --git a/imap/imap.c b/imap/imap.c index 5ec4f0ff0..2e5c0417b 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -1869,7 +1869,7 @@ int imap_complete(char* dest, size_t dlen, char* path) { IMAP_MBOX mx; int rc; - if (imap_parse_path (path, &mx) || !mx.mbox) + if (imap_parse_path (path, &mx)) { strfcpy (dest, path, dlen); return imap_complete_hosts (dest, dlen);