Mercurial > dovecot > core-2.2
changeset 22411:2e37d35c7377
indexer-worker: Log "Indexed .. messages" even if mailbox_search fails
The transaction is still being committed.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Sun, 18 Jun 2017 13:00:57 +0300 |
parents | e3ba9312f75b |
children | 50a22a23193a |
files | src/indexer/master-connection.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/indexer/master-connection.c Thu Jun 15 09:18:03 2017 +0200 +++ b/src/indexer/master-connection.c Sun Jun 18 13:00:57 2017 +0300 @@ -120,8 +120,7 @@ mailbox_get_vname(box), mailbox_get_last_internal_error(box, NULL)); ret = -1; - } - if (ret == 0) { + } else { i_info("Indexed %u messages in %s", counter, mailbox_get_vname(box)); }