[dovecot-cvs] dovecot: Fix for last change

dovecot at dovecot.org dovecot at dovecot.org
Wed Jun 13 22:21:51 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/0f5ece26eb4f
changeset: 5726:0f5ece26eb4f
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Jun 13 22:21:47 2007 +0300
description:
Fix for last change

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-index/mail-transaction-log-view.c |    2 +-

diffs (12 lines):

diff -r c81b3cb0fb70 -r 0f5ece26eb4f src/lib-index/mail-transaction-log-view.c
--- 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 @@ int mail_transaction_log_view_next(struc
 	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;


More information about the dovecot-cvs mailing list