[dovecot-cvs] dovecot/src/auth auth-digest-md5.c,1.10,1.11 userinfo-passwd-file.c,1.18,1.19

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


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

Modified Files:
	auth-digest-md5.c userinfo-passwd-file.c 
Log Message:
We don't have separate read-write pools, so renamed pool_create(.., FALSE)
to pool_alloconly_create().



Index: auth-digest-md5.c
===================================================================
RCS file: /home/cvs/dovecot/src/auth/auth-digest-md5.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- auth-digest-md5.c	19 Dec 2002 23:56:23 -0000	1.10
+++ auth-digest-md5.c	21 Dec 2002 13:08:49 -0000	1.11
@@ -585,7 +585,7 @@
 	Pool pool;
 	const char *challenge;
 
-	pool = pool_create("Digest-MD5", 256, FALSE);
+	pool = pool_alloconly_create("Digest-MD5", 256);
 	auth = p_new(pool, AuthData, 1);
 	auth->pool = pool;
 

Index: userinfo-passwd-file.c
===================================================================
RCS file: /home/cvs/dovecot/src/auth/userinfo-passwd-file.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- userinfo-passwd-file.c	19 Dec 2002 01:02:34 -0000	1.18
+++ userinfo-passwd-file.c	21 Dec 2002 13:08:49 -0000	1.19
@@ -353,7 +353,7 @@
 	if (fstat(fd, &st) != 0)
 		i_fatal("fstat() failed for passwd-file %s: %m", path);
 
-	pool = pool_create("PasswdFile", 10240, FALSE);
+	pool = pool_alloconly_create("PasswdFile", 10240);
 	pw = p_new(pool, PasswdFile, 1);
 	pw->pool = pool;
 	pw->path = p_strdup(pool, path);




More information about the dovecot-cvs mailing list