]> granicus.if.org Git - neomutt/commitdiff
Let imap_conn_find have first crack at completion of root
authorRado S <regrado@web.de>
Wed, 14 Mar 2007 19:39:11 +0000 (12:39 -0700)
committerRado S <regrado@web.de>
Wed, 14 Mar 2007 19:39:11 +0000 (12:39 -0700)
imap/imap.c

index 5ec4f0ff0063f3888078b641a7bcb4b8f648c199..2e5c0417b72b65bb9aa95be926c69c20a42d4108 100644 (file)
@@ -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);