]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
DEBUG: Don't verify recent flags if view is already marked inconsistent.
authorTimo Sirainen <tss@iki.fi>
Sun, 31 Aug 2008 08:46:22 +0000 (11:46 +0300)
committerTimo Sirainen <tss@iki.fi>
Sun, 31 Aug 2008 08:46:22 +0000 (11:46 +0300)
--HG--
branch : HEAD

src/lib-storage/index/index-sync.c

index cf68e35bb8d02b704ed5534a8f040b72e2651b25..2620b56efb91451710b77863d5c0632f013821b4 100644 (file)
@@ -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;