[dovecot-cvs] dovecot/src/deliver deliver.c,1.48,1.49

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


Update of /var/lib/cvs/dovecot/src/deliver
In directory talvi:/tmp/cvs-serv5379/deliver

Modified Files:
	deliver.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: deliver.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/deliver/deliver.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- deliver.c	15 Feb 2007 17:38:55 -0000	1.48
+++ deliver.c	16 Feb 2007 13:12:10 -0000	1.49
@@ -612,6 +612,7 @@
 			plugin_dir = MODULEDIR"/lda";
 		modules = module_dir_load(plugin_dir, getenv("MAIL_PLUGINS"),
 					  TRUE);
+		module_dir_init(modules);
 	}
 
 	/* FIXME: how should we handle namespaces? */



More information about the dovecot-cvs mailing list