summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2011-02-06 19:27:40 -0800
committerMarcel Holtmann <marcel@holtmann.org>2011-02-06 19:27:40 -0800
commit87cc447f743db455ca893b8bc66ba01e5e62f718 (patch)
tree62059c29c1ba92956c77e15f3a0817123b12b2ac
parent507619cc126b4c04ad35aef798236bff6d23a7c4 (diff)
downloadconnman-87cc447f743db455ca893b8bc66ba01e5e62f718.tar.gz
connman-87cc447f743db455ca893b8bc66ba01e5e62f718.tar.bz2
connman-87cc447f743db455ca893b8bc66ba01e5e62f718.zip
plugin: Allow colon as plugin name separator
-rw-r--r--src/plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugin.c b/src/plugin.c
index fa861ec5..3f001d8b 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -126,10 +126,10 @@ int __connman_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; __connman_builtin[i]; i++) {
if (check_plugin(__connman_builtin[i],