dovecot-2.2: imapc: Set storage's error to "internal error" if w...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Oct 19 11:29:18 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/56d08de919a1
changeset: 19313:56d08de919a1
user: Timo Sirainen <tss at iki.fi>
date: Mon Oct 19 14:29:10 2015 +0300
description:
imapc: Set storage's error to "internal error" if we detect mailbox state corruption.
This fixes "unknown internal error" in at least syncing code when an
expunged message reappears.
diffstat:
src/lib-storage/index/imapc/imapc-mailbox.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r c5c34c02fda3 -r 56d08de919a1 src/lib-storage/index/imapc/imapc-mailbox.c
--- a/src/lib-storage/index/imapc/imapc-mailbox.c Mon Oct 19 14:05:26 2015 +0300
+++ b/src/lib-storage/index/imapc/imapc-mailbox.c Mon Oct 19 14:29:10 2015 +0300
@@ -24,6 +24,8 @@
mbox->box.name, t_strdup_vprintf(reason, va));
va_end(va);
+ mail_storage_set_internal_error(&mbox->storage->storage);
+
if (!mbox->initial_sync_done) {
/* we failed during initial sync. need to rebuild indexes if
we want to get this fixed */
More information about the dovecot-cvs
mailing list