dovecot: Assert change
dovecot at dovecot.org
dovecot at dovecot.org
Sun Jul 15 00:53:56 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/5aaaed0457aa
changeset: 6000:5aaaed0457aa
user: Timo Sirainen <tss at iki.fi>
date: Sun Jul 15 00:53:46 2007 +0300
description:
Assert change
diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
src/lib-index/mail-index-view-sync.c | 5 ++---
diffs (15 lines):
diff -r 5b4bf289b98d -r 5aaaed0457aa src/lib-index/mail-index-view-sync.c
--- a/src/lib-index/mail-index-view-sync.c Sun Jul 15 00:48:44 2007 +0300
+++ b/src/lib-index/mail-index-view-sync.c Sun Jul 15 00:53:46 2007 +0300
@@ -294,9 +294,8 @@ int mail_index_view_sync_begin(struct ma
if (sync_expunges || !view_sync_have_expunges(view)) {
view->sync_new_map = view->index->map;
view->sync_new_map->refcount++;
- i_assert(sync_expunges ||
- view->index->map->hdr.messages_count >=
- view->map->hdr.messages_count);
+ i_assert(view->index->map->hdr.messages_count >=
+ ctx->finish_min_msg_count);
/* keep the old mapping without expunges until we're
fully synced */
More information about the dovecot-cvs
mailing list