Mercurial > dovecot > core-2.2
diff src/auth/userdb-nss.c @ 10898:3d085b851db8 HEAD
auth: passdb/userdb backends no longer know about struct auth_passdb/auth_userdb.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 13 Mar 2010 20:16:12 +0200 |
parents | 1a4c2e4bff75 |
children | 7b497f801178 |
line wrap: on
line diff
--- a/src/auth/userdb-nss.c Sat Mar 13 20:00:32 2010 +0200 +++ b/src/auth/userdb-nss.c Sat Mar 13 20:16:12 2010 +0200 @@ -101,11 +101,10 @@ } static struct userdb_module * -userdb_nss_preinit(struct auth_userdb *auth_userdb, const char *args) +userdb_nss_preinit(pool_t pool, const char *args) { struct nss_userdb_module *module; const char *const *tmp; - pool_t pool = auth_userdb->pool; module = p_new(pool, struct nss_userdb_module, 1); module->bufsize = sysconf(_SC_GETPW_R_SIZE_MAX);