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

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


details:   http://hg.dovecot.org/dovecot-1.2/rev/413c70b0ae1d
changeset: 8195:413c70b0ae1d
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Sep 13 13:02:13 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 1ee313158639 -r 413c70b0ae1d src/lib-index/mail-index-transaction-view.c
--- a/src/lib-index/mail-index-transaction-view.c	Sat Sep 13 12:22:30 2008 +0300
+++ b/src/lib-index/mail-index-transaction-view.c	Sat Sep 13 13:02:13 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