changeset 6407:1deb160e5fbb HEAD

Don't bother complaining about indexid changes. The real reason for the change was most likely logged already, and the "indexid changed" error just confuses people.
author Timo Sirainen <tss@iki.fi>
date Sun, 16 Sep 2007 10:56:32 +0300
parents ef2170079575
children 17ec931b51d7
files src/lib-index/mail-cache.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-index/mail-cache.c	Sat Sep 15 19:46:10 2007 +0300
+++ b/src/lib-index/mail-cache.c	Sun Sep 16 10:56:32 2007 +0300
@@ -158,8 +158,7 @@
 	}
 
 	if (cache->hdr->indexid != cache->index->indexid) {
-		/* index id changed */
-		mail_cache_set_corrupted(cache, "indexid changed");
+		/* index id changed - handle silently */
 		return FALSE;
 	}
 	if (cache->hdr->file_seq == 0) {