dovecot-2.1: istream-mail: Call mail_cache_set_corrupted() properly

dovecot at dovecot.org dovecot at dovecot.org
Tue Oct 18 16:44:49 EEST 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/fb22546542a5
changeset: 13636:fb22546542a5
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Oct 18 16:52:23 2011 +0300
description:
istream-mail: Call mail_cache_set_corrupted() properly

diffstat:

 src/lib-storage/index/istream-mail.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 63ac3b1c2950 -r fb22546542a5 src/lib-storage/index/istream-mail.c
--- a/src/lib-storage/index/istream-mail.c	Mon Oct 17 15:35:54 2011 +0300
+++ b/src/lib-storage/index/istream-mail.c	Tue Oct 18 16:52:23 2011 +0300
@@ -50,7 +50,7 @@
 		"Cached message size %s than expected "
 		"(%"PRIuUOFF_T" %c %"PRIuUOFF_T")", str,
 		mstream->expected_size, chr, cur_size);
-	index_mail_set_cache_corrupted(mstream->mail, MAIL_FETCH_PHYSICAL_SIZE);
+	mail_set_cache_corrupted(mstream->mail, MAIL_FETCH_PHYSICAL_SIZE);
 	mstream->istream.istream.stream_errno = EIO;
 }
 


More information about the dovecot-cvs mailing list