From d8a2c68c17838f2e14ebd574b3ea2f1ac02c6882 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 31 Aug 2008 11:46:22 +0300 Subject: [PATCH] DEBUG: Don't verify recent flags if view is already marked inconsistent. --HG-- branch : HEAD --- src/lib-storage/index/index-sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib-storage/index/index-sync.c b/src/lib-storage/index/index-sync.c index cf68e35bb8..2620b56efb 100644 --- a/src/lib-storage/index/index-sync.c +++ b/src/lib-storage/index/index-sync.c @@ -280,7 +280,7 @@ index_mailbox_expunge_unseen_recent(struct index_mailbox_sync_context *ctx) hdr->next_uid - 1); } #ifdef DEBUG - { + if (!mail_index_view_is_inconsistent(ibox->view)) { const struct seq_range *range; unsigned int i, count; -- 2.47.3