dovecot-2.0: dbox: When rebuilding dbox storage, reset recent fl...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Jun 4 22:29:07 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/563b17988ce1
changeset: 9446:563b17988ce1
user: Timo Sirainen <tss at iki.fi>
date: Thu Jun 04 15:27:26 2009 -0400
description:
dbox: When rebuilding dbox storage, reset recent flags to avoid assert-crashing.
diffstat:
1 file changed, 1 insertion(+)
src/lib-storage/index/dbox/dbox-sync.c | 1 +
diffs (11 lines):
diff -r 3396bab1feb6 -r 563b17988ce1 src/lib-storage/index/dbox/dbox-sync.c
--- a/src/lib-storage/index/dbox/dbox-sync.c Thu Jun 04 13:08:19 2009 -0400
+++ b/src/lib-storage/index/dbox/dbox-sync.c Thu Jun 04 15:27:26 2009 -0400
@@ -249,6 +249,7 @@ int dbox_sync_begin(struct dbox_mailbox
if (rebuild) {
if (dbox_storage_rebuild(mbox->storage) < 0)
return -1;
+ index_mailbox_reset_uidvalidity(&mbox->ibox);
storage_rebuilt = TRUE;
}
More information about the dovecot-cvs
mailing list