plugin-loader: Support a reload() callback for static features

This commit is contained in:
Martin Willi
2014-09-22 13:55:12 +02:00
parent 73ed38e74f
commit 5421092b75
9 changed files with 44 additions and 12 deletions
+1 -1
View File
@@ -593,7 +593,7 @@ METHOD(daemon_t, initialize, bool,
PLUGIN_DEPENDS(CUSTOM, "socket"),
};
lib->plugins->add_static_features(lib->plugins, lib->ns, features,
countof(features), TRUE);
countof(features), TRUE, NULL, NULL);
/* load plugins, further infrastructure may need it */
if (!lib->plugins->load(lib->plugins, plugins))