[dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-sync-expunge.c, 1.15.2.1, 1.15.2.2

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-serv6108

Modified Files:
      Tag: branch_1_0
	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.15.2.1
retrieving revision 1.15.2.2
diff -u -d -r1.15.2.1 -r1.15.2.2
--- dbox-sync-expunge.c	12 Jun 2006 08:24:03 -0000	1.15.2.1
+++ dbox-sync-expunge.c	23 Jul 2006 14:20:29 -0000	1.15.2.2
@@ -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