dovecot-2.2: lib-storage: If mailbox is deleted, mailbox_save_be...
    dovecot at dovecot.org 
    dovecot at dovecot.org
       
    Wed Feb 20 15:53:24 EET 2013
    
    
  
details:   http://hg.dovecot.org/dovecot-2.2/rev/e383647dc9dd
changeset: 15859:e383647dc9dd
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Feb 20 15:41:17 2013 +0200
description:
lib-storage: If mailbox is deleted, mailbox_save_begin() should cancel mail_save_context.
diffstat:
 src/lib-storage/mail-storage.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 7df4ca451d2e -r e383647dc9dd src/lib-storage/mail-storage.c
--- a/src/lib-storage/mail-storage.c	Wed Feb 20 15:40:16 2013 +0200
+++ b/src/lib-storage/mail-storage.c	Wed Feb 20 15:41:17 2013 +0200
@@ -1897,6 +1897,7 @@
 
 	if (mail_index_is_deleted(box->index)) {
 		mailbox_set_deleted(box);
+		mailbox_save_cancel(ctx);
 		return -1;
 	}
 
    
    
More information about the dovecot-cvs
mailing list