dovecot-2.1: imapc: Fix to previous message saving change.

dovecot at dovecot.org dovecot at dovecot.org
Thu Sep 22 14:32:19 EEST 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/43df6495edb8
changeset: 13543:43df6495edb8
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Sep 22 14:31:57 2011 +0300
description:
imapc: Fix to previous message saving change.

diffstat:

 src/lib-storage/index/imapc/imapc-save.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r b6633cb57814 -r 43df6495edb8 src/lib-storage/index/imapc/imapc-save.c
--- a/src/lib-storage/index/imapc/imapc-save.c	Thu Sep 22 14:24:03 2011 +0300
+++ b/src/lib-storage/index/imapc/imapc-save.c	Thu Sep 22 14:31:57 2011 +0300
@@ -285,7 +285,7 @@
 	i_assert(ctx->finished);
 
 	/* expunge all added messages from index before commit */
-	last_seq = mail_index_view_get_messages_count(ctx->trans->view);
+	last_seq = mail_index_view_get_messages_count(_ctx->transaction->view);
 	for (i = 0; i < ctx->save_count; i++)
 		mail_index_expunge(ctx->trans, last_seq - i);
 


More information about the dovecot-cvs mailing list