projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d829de8
)
Apply plugin pattern only if specified
author
Marcel Holtmann
<marcel@holtmann.org>
Mon, 5 Jan 2009 21:09:22 +0000
(22:09 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 5 Jan 2009 21:09:22 +0000
(22:09 +0100)
src/plugin.c
patch
|
blob
|
history
diff --git
a/src/plugin.c
b/src/plugin.c
index
716eb7c
..
2103b66
100644
(file)
--- a/
src/plugin.c
+++ b/
src/plugin.c
@@
-97,7
+97,7
@@
int __connman_plugin_init(const char *pattern)
continue;
}
- if (g_pattern_match_simple(pattern,
+ if (
pattern != NULL &&
g_pattern_match_simple(pattern,
desc->name) == FALSE) {
DBG("ignoring %s", desc->description);
dlclose(handle);