From: Rocco Rutte Date: Tue, 11 Dec 2007 13:50:09 +0000 (+0100) Subject: POP: Respect $message_cache_clean X-Git-Tag: mutt-1-5-18-rel~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90920528882ca7d950a1b70fb045119875f94598;p=mutt POP: Respect $message_cache_clean --- diff --git a/pop.c b/pop.c index adb0c8de..273bbf5b 100644 --- a/pop.c +++ b/pop.c @@ -336,7 +336,8 @@ static int pop_fetch_headers (CONTEXT *ctx) * clean up cache, i.e. wipe messages deleted outside * the availability of our cache */ - mutt_bcache_list (pop_data->bcache, msg_cache_check, (void*)ctx); + if (option (OPTMESSAGECACHECLEAN)) + mutt_bcache_list (pop_data->bcache, msg_cache_check, (void*)ctx); mutt_clear_error (); return (new_count - old_count);