dovecot-2.0: doveadm: Code correctness fix.
dovecot at dovecot.org
dovecot at dovecot.org
Wed May 11 18:55:10 EEST 2011
details: http://hg.dovecot.org/dovecot-2.0/rev/b72d72ae9bd6
changeset: 12806:b72d72ae9bd6
user: Timo Sirainen <tss at iki.fi>
date: Wed May 11 18:49:44 2011 +0300
description:
doveadm: Code correctness fix.
diffstat:
src/doveadm/doveadm-mail-index.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (15 lines):
diff -r 72c2784fcbc9 -r b72d72ae9bd6 src/doveadm/doveadm-mail-index.c
--- a/src/doveadm/doveadm-mail-index.c Wed May 11 17:59:59 2011 +0300
+++ b/src/doveadm/doveadm-mail-index.c Wed May 11 18:49:44 2011 +0300
@@ -152,9 +152,9 @@
}
mail_free(&mail);
- if (mailbox_search_deinit(&ctx) < 0)
+ ret = mailbox_search_deinit(&ctx);
+ if (mailbox_transaction_commit(&t) < 0)
ret = -1;
- (void)mailbox_transaction_commit(&t);
return ret;
}
More information about the dovecot-cvs
mailing list