changeset 13636:fb22546542a5

istream-mail: Call mail_cache_set_corrupted() properly
author Timo Sirainen <tss@iki.fi>
date Tue, 18 Oct 2011 16:52:23 +0300
parents 63ac3b1c2950
children e3d2262e995a
files src/lib-storage/index/istream-mail.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }