[dovecot-cvs] dovecot/src/lib-imap imap-message-cache.c,1.26,1.27 imap-parser.c,1.26,1.27

cras at procontrol.fi cras at procontrol.fi
Sat Dec 21 15:08:52 EET 2002


Update of /home/cvs/dovecot/src/lib-imap
In directory danu:/tmp/cvs-serv21177/lib-imap

Modified Files:
	imap-message-cache.c imap-parser.c 
Log Message:
We don't have separate read-write pools, so renamed pool_create(.., FALSE)
to pool_alloconly_create().



Index: imap-message-cache.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-imap/imap-message-cache.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- imap-message-cache.c	18 Dec 2002 15:15:41 -0000	1.26
+++ imap-message-cache.c	21 Dec 2002 13:08:49 -0000	1.27
@@ -105,7 +105,8 @@
 		*msgp = NULL;
 	}
 
-	pool = pool_create("CachedMessage", DEFAULT_MESSAGE_POOL_SIZE, FALSE);
+	pool = pool_alloconly_create("CachedMessage",
+				     DEFAULT_MESSAGE_POOL_SIZE);
 
 	msg = p_new(pool, CachedMessage, 1);
 	msg->pool = pool;

Index: imap-parser.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-imap/imap-parser.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- imap-parser.c	19 Dec 2002 01:02:35 -0000	1.26
+++ imap-parser.c	21 Dec 2002 13:08:49 -0000	1.27
@@ -66,7 +66,7 @@
 	ImapParser *parser;
 
 	parser = i_new(ImapParser, 1);
-        parser->pool = pool_create("IMAP parser", 8192, FALSE);
+        parser->pool = pool_alloconly_create("IMAP parser", 8192);
 	parser->input = input;
 	parser->output = output;
 	parser->max_literal_size = max_literal_size;




More information about the dovecot-cvs mailing list