From: Richard Russon Date: Fri, 18 Nov 2016 02:29:19 +0000 (+0000) Subject: build: fix nntp/notmuch conditionals X-Git-Tag: neomutt-20161126~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e79f31f88a89de56fb50378089b861e00da99e6b;p=neomutt build: fix nntp/notmuch conditionals --- diff --git a/buffy.c b/buffy.c index 8d488f7db..4c9760266 100644 --- a/buffy.c +++ b/buffy.c @@ -565,11 +565,14 @@ static void buffy_check (BUFFY *tmp, struct stat *contex_sb, int check_stats) /* check to see if the folder is the currently selected folder * before polling */ if (!Context || !Context->path || + ((tmp->magic == MUTT_IMAP || #ifdef USE_NNTP - (( tmp->magic == MUTT_IMAP || tmp->magic == MUTT_POP || tmp->magic == MUTT_NNTP ) -#else - (( tmp->magic == MUTT_IMAP || tmp->magic == MUTT_POP || tmp->magic == MUTT_NOTMUCH) + tmp->magic == MUTT_NNTP || +#endif +#ifdef USE_NOTMUCH + tmp->magic == MUTT_NOTMUCH || #endif + tmp->magic == MUTT_POP) ? mutt_strcmp (tmp->path, Context->path) : (sb.st_dev != contex_sb->st_dev || sb.st_ino != contex_sb->st_ino))) {