[dovecot-cvs] dovecot/src/dict main.c,1.6,1.7

cras at dovecot.org cras at dovecot.org
Sun Feb 26 14:15:42 EET 2006


Update of /var/lib/cvs/dovecot/src/dict
In directory talvi:/tmp/cvs-serv21931/src/dict

Modified Files:
	main.c 
Log Message:
Replaced mail_use_modules and mail_modules settings with mail_plugins and
mail_plugin_dir. Now instead of loading all plugins from the directory,
you'll have to give a list of plugins to load. If the plugin couldn't be
loaded, the process exits instead of just ignoring the problem (this is
important with ACL plugin).



Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/dict/main.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- main.c	31 Jan 2006 06:05:22 -0000	1.6
+++ main.c	26 Feb 2006 12:15:39 -0000	1.7
@@ -62,7 +62,7 @@
 	dict_sql_register();
 
 	modules = getenv("MODULE_DIR") == NULL ? NULL :
-		module_dir_load(getenv("MODULE_DIR"), TRUE);
+		module_dir_load(getenv("MODULE_DIR"), NULL, TRUE);
 
 	path = getenv("DICT_LISTEN_FROM_FD");
 	fd = path == NULL ? -1 : DICT_MASTER_LISTENER_FD;



More information about the dovecot-cvs mailing list