changeset 2918:7039fc53b4c8 HEAD

If extension data changes was actually found from transaction view, it was returned wrong. Caused problems with cache file.
author Timo Sirainen <tss@iki.fi>
date Mon, 29 Nov 2004 19:22:40 +0200
parents e657c7874962
children 3cc0a992ac7d
files src/lib-index/mail-index-transaction-view.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-index/mail-index-transaction-view.c	Mon Nov 29 14:30:27 2004 +0200
+++ b/src/lib-index/mail-index-transaction-view.c	Mon Nov 29 19:22:40 2004 +0200
@@ -163,7 +163,7 @@
 		return 1;
 	}
 
-	*data_r = CONST_PTR_OFFSET(ext_bufs[ext_id]->data, pos);
+	*data_r = CONST_PTR_OFFSET(ext_bufs[ext_id]->data, pos + sizeof(seq));
 	return 1;
 }