loading default modules depending on configure options

This commit is contained in:
Martin Willi
2008-05-16 08:52:32 +00:00
parent d8ff9eee6b
commit 1ba62b5562
12 changed files with 107 additions and 35 deletions
+6 -2
View File
@@ -100,7 +100,11 @@ static int load(private_plugin_loader_t *this, char *path, char *list)
pos = strchr(list, ' ');
if (pos)
{
*pos = '\0';
*pos++ = '\0';
while (*pos == ' ')
{
pos++;
}
}
plugin = load_plugin(this, path, list);
if (plugin)
@@ -112,7 +116,7 @@ static int load(private_plugin_loader_t *this, char *path, char *list)
{
break;
}
list = pos + 1;
list = pos;
}
return count;
}