dovecot-1.2: DEBUG: Don't verify recent flags if view is already...

dovecot at dovecot.org dovecot at dovecot.org
Sun Aug 31 11:50:36 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/66dd5f452d32
changeset: 8132:66dd5f452d32
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Aug 31 11:46:22 2008 +0300
description:
DEBUG: Don't verify recent flags if view is already marked inconsistent.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/index/index-sync.c |    2 +-

diffs (12 lines):

diff -r 32a045eaf6b6 -r 66dd5f452d32 src/lib-storage/index/index-sync.c
--- a/src/lib-storage/index/index-sync.c	Sun Aug 31 11:02:13 2008 +0300
+++ b/src/lib-storage/index/index-sync.c	Sun Aug 31 11:46:22 2008 +0300
@@ -280,7 +280,7 @@ index_mailbox_expunge_unseen_recent(stru
 						     hdr->next_uid - 1);
 	}
 #ifdef DEBUG
-	{
+	if (!mail_index_view_is_inconsistent(ibox->view)) {
 		const struct seq_range *range;
 		unsigned int i, count;
 


More information about the dovecot-cvs mailing list