dovecot-2.2: doveadm deduplicate: Fixed error handling.
dovecot at dovecot.org
dovecot at dovecot.org
Tue Jun 25 01:23:49 EEST 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/09b278416493
changeset: 16546:09b278416493
user: Timo Sirainen <tss at iki.fi>
date: Tue Jun 25 01:23:17 2013 +0300
description:
doveadm deduplicate: Fixed error handling.
diffstat:
src/doveadm/doveadm-mail-deduplicate.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r f68a955f4c5c -r 09b278416493 src/doveadm/doveadm-mail-deduplicate.c
--- a/src/doveadm/doveadm-mail-deduplicate.c Tue Jun 25 00:10:39 2013 +0300
+++ b/src/doveadm/doveadm-mail-deduplicate.c Tue Jun 25 01:23:17 2013 +0300
@@ -80,7 +80,7 @@
while (doveadm_mail_iter_next(iter, &mail)) {
if (ctx->by_msgid) {
if (mail_get_first_header(mail, "Message-ID", &key) < 0) {
- errstr = mailbox_get_last_error(box, &error);
+ errstr = mailbox_get_last_error(mail->box, &error);
if (error == MAIL_ERROR_NOTFOUND)
continue;
i_error("Couldn't lookup Message-ID: for UID=%u: %s",
@@ -90,7 +90,7 @@
}
} else {
if (mail_get_special(mail, MAIL_FETCH_GUID, &key) < 0) {
- errstr = mailbox_get_last_error(box, &error);
+ errstr = mailbox_get_last_error(mail->box, &error);
if (error == MAIL_ERROR_NOTFOUND)
continue;
i_error("Couldn't lookup GUID: for UID=%u: %s",
More information about the dovecot-cvs
mailing list