dovecot: Last change caused mail_get_physical_size() to assert-c...

dovecot at dovecot.org dovecot at dovecot.org
Sat Jan 26 10:47:07 EET 2008


details:   http://hg.dovecot.org/dovecot/rev/226e80da0a23
changeset: 7194:226e80da0a23
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Jan 26 10:47:03 2008 +0200
description:
Last change caused mail_get_physical_size() to assert-crash sometimes.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/index/maildir/maildir-mail.c |    2 +-

diffs (12 lines):

diff -r e5af14239137 -r 226e80da0a23 src/lib-storage/index/maildir/maildir-mail.c
--- a/src/lib-storage/index/maildir/maildir-mail.c	Fri Jan 25 15:28:14 2008 +0200
+++ b/src/lib-storage/index/maildir/maildir-mail.c	Sat Jan 26 10:47:03 2008 +0200
@@ -333,7 +333,7 @@ static int maildir_mail_get_physical_siz
 	int ret;
 
 	if (index_mail_get_physical_size(_mail, size_r) == 0) {
-		i_assert(mail->data.virtual_size != (uoff_t)-1);
+		i_assert(mail->data.physical_size != (uoff_t)-1);
 		maildir_handle_size_caching(mail, TRUE, FALSE);
 		return 0;
 	}


More information about the dovecot-cvs mailing list