From: Richard Russon Date: Sun, 9 Sep 2018 15:02:19 +0000 (+0100) Subject: fix nntp probing X-Git-Tag: 2019-10-25~659 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e01c0a26982b6198a3d791cb9e2ad9d1adda05e1;p=neomutt fix nntp probing --- diff --git a/nntp/nntp.c b/nntp/nntp.c index 1bcfb0c1f..8ec75b23c 100644 --- a/nntp/nntp.c +++ b/nntp/nntp.c @@ -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; }