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

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


details:   http://hg.dovecot.org/dovecot-1.1/rev/fd54c5a0e6c8
changeset: 7850:fd54c5a0e6c8
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Aug 31 11:46:43 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 81d95749dd3b -r fd54c5a0e6c8 src/lib-storage/index/index-sync.c
--- a/src/lib-storage/index/index-sync.c	Sun Aug 31 09:02:46 2008 +0300
+++ b/src/lib-storage/index/index-sync.c	Sun Aug 31 11:46:43 2008 +0300
@@ -285,7 +285,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