fixed warning if plugin list has trailing whitespaces
This commit is contained in:
@@ -105,6 +105,10 @@ static int load(private_plugin_loader_t *this, char *path, char *list)
|
|||||||
{
|
{
|
||||||
pos++;
|
pos++;
|
||||||
}
|
}
|
||||||
|
if (!*pos)
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
plugin = load_plugin(this, path, list);
|
plugin = load_plugin(this, path, list);
|
||||||
if (plugin)
|
if (plugin)
|
||||||
|
|||||||
Reference in New Issue
Block a user