dovecot-2.2: quota: Commit expunge transaction instead of rollin...

dovecot at dovecot.org dovecot at dovecot.org
Mon Sep 21 13:25:59 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/7ea1b001a82e
changeset: 19166:7ea1b001a82e
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Sep 21 16:12:43 2015 +0300
description:
quota: Commit expunge transaction instead of rolling back.
This likely won't make much of a difference, since it should have accessed
only expunged mails. But it's a bit cleaner this way.

diffstat:

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

diffs (12 lines):

diff -r ff5c34d62daf -r 7ea1b001a82e src/plugins/quota/quota-storage.c
--- a/src/plugins/quota/quota-storage.c	Mon Sep 21 16:09:37 2015 +0300
+++ b/src/plugins/quota/quota-storage.c	Mon Sep 21 16:12:43 2015 +0300
@@ -293,7 +293,7 @@
 
 	if (qbox->expunge_qt != NULL && qbox->expunge_qt->tmp_mail != NULL) {
 		mail_free(&qbox->expunge_qt->tmp_mail);
-		mailbox_transaction_rollback(&qbox->expunge_trans);
+		(void)mailbox_transaction_commit(&qbox->expunge_trans);
 	}
 	qbox->sync_transaction_expunge = FALSE;
 }


More information about the dovecot-cvs mailing list