From 12f052b54a22dc458135154c57b6a03c98824159 Mon Sep 17 00:00:00 2001 From: Brendan Cully Date: Mon, 12 Dec 2005 00:10:19 +0000 Subject: [PATCH] Whoops, don't break buffy for non-IMAP mailboxes! --- buffy.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/buffy.c b/buffy.c index 2e5eea03..f3c2f5d5 100644 --- a/buffy.c +++ b/buffy.c @@ -302,9 +302,10 @@ int mutt_buffy_check (int force) for (tmp = Incoming; tmp; tmp = tmp->next) { -#ifndef USE_IMAP - tmp->new = 0; +#ifdef USE_IMAP + if (tmp->magic != M_IMAP) #endif + tmp->new = 0; #ifdef USE_POP if (mx_is_pop (tmp->path)) -- 2.40.0