mirror of git://git.sysmocom.de/ofono
plugin: Allow colon as plugin name separator
This commit is contained in:
parent
a5920e9230
commit
4be27988ff
|
@ -112,10 +112,10 @@ int __ofono_plugin_init(const char *pattern, const char *exclude)
|
|||
DBG("");
|
||||
|
||||
if (pattern)
|
||||
patterns = g_strsplit_set(pattern, ", ", -1);
|
||||
patterns = g_strsplit_set(pattern, ":, ", -1);
|
||||
|
||||
if (exclude)
|
||||
excludes = g_strsplit_set(exclude, ", ", -1);
|
||||
excludes = g_strsplit_set(exclude, ":, ", -1);
|
||||
|
||||
for (i = 0; __ofono_builtin[i]; i++) {
|
||||
if (check_plugin(__ofono_builtin[i],
|
||||
|
|
Loading…
Reference in New Issue