dovecot-1.0: Don't bother complaining about indexid changes. The...

dovecot at dovecot.org dovecot at dovecot.org
Sun Sep 16 10:56:37 EEST 2007


details:   http://hg.dovecot.org/dovecot-1.0/rev/53d5fd13470d
changeset: 5405:53d5fd13470d
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Sep 16 10:56:33 2007 +0300
description:
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.

diffstat:

1 file changed, 1 insertion(+), 2 deletions(-)
src/lib-index/mail-cache.c |    3 +--

diffs (13 lines):

diff -r e17ebe5d8d10 -r 53d5fd13470d src/lib-index/mail-cache.c
--- a/src/lib-index/mail-cache.c	Sat Sep 15 17:39:22 2007 +0300
+++ b/src/lib-index/mail-cache.c	Sun Sep 16 10:56:33 2007 +0300
@@ -148,8 +148,7 @@ static bool mail_cache_verify_header(str
 	}
 
 	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) {


More information about the dovecot-cvs mailing list