diff src/lib-storage/index/index-storage.c @ 106:5fe3e04ca8d9 HEAD

Added support for caching of MessagePart data. This is useful for fetching body[part]s. Also BODY and BODYSTRUCTURE can be generated fast using it. Also fixed index corruption in some situations when more cached data was added to index.
author Timo Sirainen <tss@iki.fi>
date Mon, 02 Sep 2002 05:31:18 +0300
parents 306c20092a96
children 0c3ffb677ad1
line wrap: on
line diff
--- a/src/lib-storage/index/index-storage.c	Sun Sep 01 02:57:37 2002 +0300
+++ b/src/lib-storage/index/index-storage.c	Mon Sep 02 05:31:18 2002 +0300
@@ -38,7 +38,7 @@
 
 	ibox->index = index;
 	ibox->flagsfile = flagsfile;
-	ibox->cache = imap_msgcache_alloc();
+	ibox->cache = imap_msgcache_alloc(&index_msgcache_iface);
 
 	return ibox;
 }