dovecot-2.2: sdbox: Fixed assert-crash when copying mails due to...

dovecot at dovecot.org dovecot at dovecot.org
Wed Jan 21 00:22:54 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/e30e9b2b0e37
changeset: 18197:e30e9b2b0e37
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Jan 21 02:21:35 2015 +0200
description:
sdbox: Fixed assert-crash when copying mails due to earlier change.

diffstat:

 src/lib-storage/index/dbox-single/sdbox-copy.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 991a6b7a9385 -r e30e9b2b0e37 src/lib-storage/index/dbox-single/sdbox-copy.c
--- a/src/lib-storage/index/dbox-single/sdbox-copy.c	Wed Jan 21 01:53:34 2015 +0200
+++ b/src/lib-storage/index/dbox-single/sdbox-copy.c	Wed Jan 21 02:21:35 2015 +0200
@@ -135,6 +135,7 @@
 		dbox_file_unref(&dest_file);
 		return ret;
 	}
+	((struct sdbox_file *)dest_file)->written_to_disk = TRUE;
 
 	dbox_save_add_to_index(ctx);
 	index_copy_cache_fields(_ctx, mail, ctx->seq);


More information about the dovecot-cvs mailing list