[dovecot-cvs] dovecot/src/deliver deliver.c,1.20.2.27,1.20.2.28

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


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

Modified Files:
      Tag: branch_1_0
	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.20.2.27
retrieving revision 1.20.2.28
diff -u -d -r1.20.2.27 -r1.20.2.28
--- deliver.c	15 Feb 2007 17:38:52 -0000	1.20.2.27
+++ deliver.c	16 Feb 2007 13:12:02 -0000	1.20.2.28
@@ -614,6 +614,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