dovecot-2.2: lib-storage: If trying to copy a message into alrea...

dovecot at dovecot.org dovecot at dovecot.org
Sun May 20 03:26:30 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/8897f32939b0
changeset: 14385:8897f32939b0
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Mar 26 16:23:18 2012 +0300
description:
lib-storage: If trying to copy a message into already deleted mailbox, don't crash.

diffstat:

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

diffs (12 lines):

diff -r e79496bb09f5 -r 8897f32939b0 src/lib-storage/mail-storage.c
--- a/src/lib-storage/mail-storage.c	Mon Mar 26 15:34:46 2012 +0300
+++ b/src/lib-storage/mail-storage.c	Mon Mar 26 16:23:18 2012 +0300
@@ -1667,7 +1667,7 @@
 
 	if (mail_index_is_deleted(box->index)) {
 		mailbox_set_deleted(box);
-		mailbox_save_cancel(_ctx);
+		mailbox_save_cancel(&ctx);
 		return -1;
 	}
 


More information about the dovecot-cvs mailing list