use NULL to load plugins from default plugin directory

This commit is contained in:
Martin Willi committed 2009-09-10 18:52:42 +02:00
1 parent 6de28173f0
commit 5b03a350fc
24 files changed
+19 -23

No files matched your search

@@ -116,6 +116,11 @@ static bool load(private_plugin_loader_t *this, char *path, char *list)
char *token;
bool critical_failed = FALSE;
if (path == NULL)
{
path = PLUGINDIR;
}
enumerator = enumerator_create_token(list, " ", " ");
while (!critical_failed && enumerator->enumerate(enumerator, &token))
{