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

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


details:   http://hg.dovecot.org/dovecot/rev/1deb160e5fbb
changeset: 6407:1deb160e5fbb
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Sep 16 10:56:32 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 ef2170079575 -r 1deb160e5fbb src/lib-index/mail-cache.c
--- 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 @@ 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