From e79f31f88a89de56fb50378089b861e00da99e6b Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Fri, 18 Nov 2016 02:29:19 +0000 Subject: [PATCH] build: fix nntp/notmuch conditionals --- buffy.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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))) { -- 2.40.0