dovecot-2.0-sslstream: mdbox: Removed broken assert.

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 13 02:57:20 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0-sslstream/rev/16acdd049281
changeset: 10548:16acdd049281
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Dec 31 17:30:16 2009 -0500
description:
mdbox: Removed broken assert.

diffstat:

1 file changed, 2 deletions(-)
src/lib-storage/index/dbox-multi/mdbox-save.c |    2 --

diffs (12 lines):

diff -r dfca2414c0a0 -r 16acdd049281 src/lib-storage/index/dbox-multi/mdbox-save.c
--- a/src/lib-storage/index/dbox-multi/mdbox-save.c	Thu Dec 31 17:19:11 2009 -0500
+++ b/src/lib-storage/index/dbox-multi/mdbox-save.c	Thu Dec 31 17:30:16 2009 -0500
@@ -240,8 +240,6 @@ int mdbox_transaction_save_commit_pre(st
 		mails = array_get(&ctx->mails, &count);
 		for (i = 0; i < count; i++) {
 			rec.map_uid = next_map_uid++;
-			i_assert(i == 0 ||
-				 mails[i-1].append_offset != mails[i].append_offset);
 			mail_index_update_ext(ctx->ctx.trans, mails[i].seq,
 					      mbox->ext_id, &rec, NULL);
 		}


More information about the dovecot-cvs mailing list