dovecot-2.0: auth: Removed unused pool parameter from struct aut...

dovecot at dovecot.org dovecot at dovecot.org
Sat Mar 13 20:27:13 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/cff28ea08c4a
changeset: 10899:cff28ea08c4a
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Mar 13 20:19:53 2010 +0200
description:
auth: Removed unused pool parameter from struct auth_passdb/auth_userdb.

diffstat:

 src/auth/auth.h   |  2 --
 src/auth/passdb.c |  1 -
 src/auth/userdb.c |  1 -
 3 files changed, 0 insertions(+), 4 deletions(-)

diffs (41 lines):

diff -r 3d085b851db8 -r cff28ea08c4a src/auth/auth.h
--- a/src/auth/auth.h	Sat Mar 13 20:16:12 2010 +0200
+++ b/src/auth/auth.h	Sat Mar 13 20:19:53 2010 +0200
@@ -6,7 +6,6 @@
 #define PASSWORD_HIDDEN_STR "<hidden>"
 
 struct auth_passdb {
-	pool_t pool;
 	struct auth_passdb *next;
 
 	const struct auth_passdb_settings *set;
@@ -14,7 +13,6 @@
 };
 
 struct auth_userdb {
-	pool_t pool;
 	struct auth_userdb *next;
 
 	const struct auth_userdb_settings *set;
diff -r 3d085b851db8 -r cff28ea08c4a src/auth/passdb.c
--- a/src/auth/passdb.c	Sat Mar 13 20:16:12 2010 +0200
+++ b/src/auth/passdb.c	Sat Mar 13 20:19:53 2010 +0200
@@ -161,7 +161,6 @@
 	struct auth_passdb *auth_passdb, **dest;
 
 	auth_passdb = p_new(auth->pool, struct auth_passdb, 1);
-	auth_passdb->pool = auth->pool;
 	auth_passdb->set = set;
 
 	for (dest = &auth->passdbs; *dest != NULL; dest = &(*dest)->next) ;
diff -r 3d085b851db8 -r cff28ea08c4a src/auth/userdb.c
--- a/src/auth/userdb.c	Sat Mar 13 20:16:12 2010 +0200
+++ b/src/auth/userdb.c	Sat Mar 13 20:19:53 2010 +0200
@@ -113,7 +113,6 @@
         struct auth_userdb *auth_userdb, **dest;
 
 	auth_userdb = p_new(auth->pool, struct auth_userdb, 1);
-	auth_userdb->pool = auth->pool;
 	auth_userdb->set = set;
 
 	for (dest = &auth->userdbs; *dest != NULL; dest = &(*dest)->next) ;


More information about the dovecot-cvs mailing list