dovecot-2.0: doveadm: Minor code cleanup

dovecot at dovecot.org dovecot at dovecot.org
Tue Jun 28 02:23:17 EEST 2011


details:   http://hg.dovecot.org/dovecot-2.0/rev/0adf8c1731e6
changeset: 12854:0adf8c1731e6
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Jun 26 19:11:52 2011 +0300
description:
doveadm: Minor code cleanup

diffstat:

 src/doveadm/doveadm-mail-index.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r 3d07ab746a67 -r 0adf8c1731e6 src/doveadm/doveadm-mail-index.c
--- a/src/doveadm/doveadm-mail-index.c	Wed Jun 22 20:26:24 2011 +0300
+++ b/src/doveadm/doveadm-mail-index.c	Sun Jun 26 19:11:52 2011 +0300
@@ -22,8 +22,7 @@
 			 MAILBOX_SYNC_FLAG_PRECACHE) < 0) {
 		i_error("Syncing mailbox %s failed: %s", info->name,
 			mail_storage_get_last_error(mailbox_get_storage(box), NULL));
-		mailbox_free(&box);
-		return -1;
+		ret = -1;
 	}
 
 	mailbox_free(&box);


More information about the dovecot-cvs mailing list