[dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-sync-expunge.c, 1.17, 1.18
cras at dovecot.org
cras at dovecot.org
Sun Jul 23 17:20:32 EEST 2006
Update of /var/lib/cvs/dovecot/src/lib-storage/index/dbox
In directory talvi:/tmp/cvs-serv22993
Modified Files:
dbox-sync-expunge.c
Log Message:
If we find unexpected messages from dbox, rebuild index files to fix the
problem.
Index: dbox-sync-expunge.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/dbox/dbox-sync-expunge.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- dbox-sync-expunge.c 28 Jun 2006 13:10:50 -0000 1.17
+++ dbox-sync-expunge.c 23 Jul 2006 14:20:30 -0000 1.18
@@ -176,6 +176,7 @@
mail_storage_set_critical(STORAGE(mbox->storage),
"Expunged UID %u reappeared in file %s",
uid, path);
+ mail_index_mark_corrupted(mbox->ibox.index);
ret = -1;
break;
}
More information about the dovecot-cvs
mailing list