diff src/lib-index/mail-cache-fields.c @ 2407:fed6d07bd8ee HEAD

Transaction log file is now read-lockless.
author Timo Sirainen <tss@iki.fi>
date Sat, 31 Jul 2004 06:06:48 +0300
parents f2acbe281ac1
children 5edda9783458
line wrap: on
line diff
--- a/src/lib-index/mail-cache-fields.c	Sat Jul 31 03:54:48 2004 +0300
+++ b/src/lib-index/mail-cache-fields.c	Sat Jul 31 06:06:48 2004 +0300
@@ -100,7 +100,7 @@
 	/* find the latest header */
 	offset = 0;
 	next_offset =
-		mail_cache_offset_to_uint32(cache->hdr->field_header_offset);
+		mail_index_offset_to_uint32(cache->hdr->field_header_offset);
 	while (next_offset != 0) {
 		if (next_offset == offset) {
 			mail_cache_set_corrupted(cache,
@@ -115,7 +115,7 @@
 
 		field_hdr = CONST_PTR_OFFSET(cache->mmap_base, offset);
 		next_offset =
-			mail_cache_offset_to_uint32(field_hdr->next_offset);
+			mail_index_offset_to_uint32(field_hdr->next_offset);
 	}
 
 	*offset_r = offset;