fixes to make pushbuild tests green

This commit is contained in:
acurtis/antony@xiphis.org/ltamd64.xiphis.org 2008-01-26 02:13:35 -08:00
parent 98515df213
commit 82839a0bbb
2 changed files with 3 additions and 4 deletions

View File

@ -1,3 +1,3 @@
$EXAMPLE_PLUGIN_OPT
"--plugin-load=;EXAMPLE=ha_example.so;"
--plugin-example-enum-var=e2
--loose-plugin-example-enum-var=e2

View File

@ -1181,9 +1181,8 @@ int plugin_init(int *argc, char **argv, int flags)
/* Register all dynamic plugins */
if (!(flags & PLUGIN_INIT_SKIP_DYNAMIC_LOADING))
{
if (opt_plugin_load &&
plugin_load_list(&tmp_root, argc, argv, opt_plugin_load))
goto err;
if (opt_plugin_load)
plugin_load_list(&tmp_root, argc, argv, opt_plugin_load);
if (!(flags & PLUGIN_INIT_SKIP_PLUGIN_TABLE))
plugin_load(&tmp_root, argc, argv);
}