dovecot-2.2: lib-index: Recent change broke cache transactions f...

dovecot at dovecot.org dovecot at dovecot.org
Sat Nov 16 21:58:39 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/94a467b0cb34
changeset: 16965:94a467b0cb34
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Nov 16 21:58:31 2013 +0200
description:
lib-index: Recent change broke cache transactions for more than 1 mail.

diffstat:

 src/lib-index/mail-cache-transaction.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r b740824110f4 -r 94a467b0cb34 src/lib-index/mail-cache-transaction.c
--- a/src/lib-index/mail-cache-transaction.c	Sat Nov 16 21:20:31 2013 +0200
+++ b/src/lib-index/mail-cache-transaction.c	Sat Nov 16 21:58:31 2013 +0200
@@ -485,7 +485,7 @@
 	trans_rec = array_append_space(&ctx->cache_data_seq);
 	trans_rec->seq = ctx->prev_seq;
 	trans_rec->cache_data_pos = ctx->last_rec_pos;
-	ctx->last_rec_pos = size;
+	ctx->last_rec_pos = ctx->cache_data->used;
 }
 
 static void


More information about the dovecot-cvs mailing list