dovecot-2.2: dsync: Error handling crashfix

dovecot at dovecot.org dovecot at dovecot.org
Tue Jan 22 12:59:43 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/4673af53e7e6
changeset: 15673:4673af53e7e6
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jan 22 12:59:32 2013 +0200
description:
dsync: Error handling crashfix

diffstat:

 src/doveadm/dsync/dsync-brain-mailbox.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 83803323f357 -r 4673af53e7e6 src/doveadm/dsync/dsync-brain-mailbox.c
--- a/src/doveadm/dsync/dsync-brain-mailbox.c	Tue Jan 22 12:59:22 2013 +0200
+++ b/src/doveadm/dsync/dsync-brain-mailbox.c	Tue Jan 22 12:59:32 2013 +0200
@@ -545,8 +545,8 @@
 
 	if (mailbox_update(box, &update) < 0) {
 		i_error("Couldn't update mailbox %s metadata: %s",
-			mailbox_get_vname(brain->box),
-			mailbox_get_last_error(brain->box, NULL));
+			mailbox_get_vname(box),
+			mailbox_get_last_error(box, NULL));
 		brain->failed = TRUE;
 	}
 }


More information about the dovecot-cvs mailing list