[dovecot-cvs] dovecot/src/auth password-scheme.c, 1.21.2.5, 1.21.2.6

tss at dovecot.org tss at dovecot.org
Fri Feb 16 13:12:03 UTC 2007


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv5370/auth

Modified Files:
      Tag: branch_1_0
	password-scheme.c 
Log Message:
module_dir_load() doesn't call init() functions anymore. Added a new
module_dir_init() which does it. This way imap/pop3 can load the modules
before chrooting and initialize them after.



Index: password-scheme.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/password-scheme.c,v
retrieving revision 1.21.2.5
retrieving revision 1.21.2.6
diff -u -d -r1.21.2.5 -r1.21.2.6
--- password-scheme.c	16 Dec 2006 13:37:28 -0000	1.21.2.5
+++ password-scheme.c	16 Feb 2007 13:12:01 -0000	1.21.2.6
@@ -498,6 +498,7 @@
 #ifdef HAVE_MODULES
 	scheme_modules = module_dir_load(AUTH_MODULE_DIR"/password",
 					 NULL, FALSE);
+	module_dir_init(scheme_modules);
 	for (mod = scheme_modules; mod != NULL; mod = mod->next) {
 		t_push();
 		symbol = t_strconcat(mod->name, "_scheme", NULL);



More information about the dovecot-cvs mailing list