]> granicus.if.org Git - neomutt/commitdiff
Fix IMAP probe
authorPietro Cerutti <gahr@gahr.ch>
Mon, 27 Aug 2018 07:34:41 +0000 (07:34 +0000)
committerPietro Cerutti <gahr@gahr.ch>
Mon, 27 Aug 2018 07:34:41 +0000 (07:34 +0000)
imap/imap.c

index b842cc5c166ea4fa849ece268ac29239dda1a807..6568f22939ebb1733aa96e8b815e2fa2631300fe 100644 (file)
@@ -2728,10 +2728,10 @@ int imap_path_probe(const char *path, const struct stat *st)
     return MUTT_UNKNOWN;
 
   if (mutt_str_strncasecmp(path, "imap://", 7) == 0)
-    return MUTT_NOTMUCH;
+    return MUTT_IMAP;
 
   if (mutt_str_strncasecmp(path, "imaps://", 8) == 0)
-    return MUTT_NOTMUCH;
+    return MUTT_IMAP;
 
   return MUTT_UNKNOWN;
 }