]> granicus.if.org Git - neomutt/commitdiff
fix nntp probing
authorRichard Russon <rich@flatcap.org>
Sun, 9 Sep 2018 15:02:19 +0000 (16:02 +0100)
committerRichard Russon <rich@flatcap.org>
Sun, 9 Sep 2018 15:09:06 +0000 (16:09 +0100)
nntp/nntp.c

index 1bcfb0c1fdc42adb4ea3447968be2e7db5de4b4e..8ec75b23ce407804c186ce4a24e7a7abf346eb3e 100644 (file)
@@ -2635,10 +2635,10 @@ int nntp_path_probe(const char *path, const struct stat *st)
     return MUTT_UNKNOWN;
 
   if (mutt_str_strncasecmp(path, "news://", 7) == 0)
-    return MUTT_NOTMUCH;
+    return MUTT_NNTP;
 
   if (mutt_str_strncasecmp(path, "snews://", 8) == 0)
-    return MUTT_NOTMUCH;
+    return MUTT_NNTP;
 
   return MUTT_UNKNOWN;
 }