[dovecot-cvs] dovecot/src/lib-index mail-index.c,1.257,1.258

tss at dovecot.org tss at dovecot.org
Thu Jan 18 15:36:47 UTC 2007


Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv19407

Modified Files:
	mail-index.c 
Log Message:
Memory pool size changes



Index: mail-index.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index.c,v
retrieving revision 1.257
retrieving revision 1.258
diff -u -d -r1.257 -r1.258
--- mail-index.c	18 Jan 2007 14:34:43 -0000	1.257
+++ mail-index.c	18 Jan 2007 15:36:44 -0000	1.258
@@ -33,7 +33,8 @@
 	index->prefix = i_strdup(prefix);
 	index->fd = -1;
 
-	index->extension_pool = pool_alloconly_create("index extension", 1024);
+	index->extension_pool =
+		pool_alloconly_create(MEMPOOL_GROWING"index extension", 1024);
 	p_array_init(&index->extensions, index->extension_pool, 5);
 	i_array_init(&index->sync_lost_handlers, 4);
 	array_create(&index->mail_index_module_contexts, default_pool,
@@ -195,7 +196,7 @@
 		size = EXT_GLOBAL_ALLOC_SIZE +
 			initial_count * EXT_PER_ALLOC_SIZE;
 		map->extension_pool =
-			pool_alloconly_create("extensions",
+			pool_alloconly_create("map extensions",
 					      nearest_power(size));
 	} else {
 		p_clear(map->extension_pool);



More information about the dovecot-cvs mailing list