dovecot-1.1: Transaction view: Fix for the previous lookup_ext()...

dovecot at dovecot.org dovecot at dovecot.org
Sat Sep 13 13:02:35 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/0e5422636bc4
changeset: 7882:0e5422636bc4
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Sep 13 13:02:31 2008 +0300
description:
Transaction view: Fix for the previous lookup_ext() fix.

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/lib-index/mail-index-transaction-view.c |    4 ++--

diffs (14 lines):

diff -r 983f82053800 -r 0e5422636bc4 src/lib-index/mail-index-transaction-view.c
--- a/src/lib-index/mail-index-transaction-view.c	Sat Sep 13 12:22:11 2008 +0300
+++ b/src/lib-index/mail-index-transaction-view.c	Sat Sep 13 13:02:31 2008 +0300
@@ -206,8 +206,8 @@ tview_return_updated_ext(struct mail_ind
 	if (!mail_index_map_get_ext_idx(tview->lookup_map, ext_id, &ext_idx)) {
 		/* we're adding the extension now. */
 		rext = array_idx(&tview->view.index->extensions, ext_id);
-		record_align = ext->record_align;
-		record_size = ext->record_size;
+		record_align = rext->record_align;
+		record_size = rext->record_size;
 	} else {
 		ext = array_idx(&tview->lookup_map->extensions, ext_idx);
 		record_align = ext->record_align;


More information about the dovecot-cvs mailing list