changeset 5726:0f5ece26eb4f HEAD

Fix for last change
author Timo Sirainen <tss@iki.fi>
date Wed, 13 Jun 2007 22:21:47 +0300
parents c81b3cb0fb70
children d9d047b743d5
files src/lib-index/mail-transaction-log-view.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-index/mail-transaction-log-view.c	Wed Jun 13 22:15:06 2007 +0300
+++ b/src/lib-index/mail-transaction-log-view.c	Wed Jun 13 22:21:47 2007 +0300
@@ -564,7 +564,7 @@
 	view->tmp_hdr.type = hdr_type;
 	/* return record's size */
 	view->tmp_hdr.size =
-		mail_index_offset_to_uint32(view->tmp_hdr.size) - sizeof(*hdr);
+		mail_index_offset_to_uint32(hdr->size) - sizeof(*hdr);
 	i_assert(view->tmp_hdr.size != 0);
 
 	*hdr_r = &view->tmp_hdr;