diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-01-05 22:09:22 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-01-05 22:09:22 +0100 |
commit | 14fb68d9c0aa7a19fd1424b4b2bc84af1caab594 (patch) | |
tree | 4e17eb4db253c4cfab21cd2d6c57fc3663e5c2c4 /src/plugin.c | |
parent | d829de8ea9a373bbc67ade2939102aedca50cd5f (diff) | |
download | connman-14fb68d9c0aa7a19fd1424b4b2bc84af1caab594.tar.gz connman-14fb68d9c0aa7a19fd1424b4b2bc84af1caab594.tar.bz2 connman-14fb68d9c0aa7a19fd1424b4b2bc84af1caab594.zip |
Apply plugin pattern only if specified
Diffstat (limited to 'src/plugin.c')
-rw-r--r-- | src/plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugin.c b/src/plugin.c index 716eb7cc..2103b66e 100644 --- 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); |