diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-06-30 05:47:13 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-06-30 05:47:13 +0000 |
commit | a22a088109b664efdee397affed55b039cb0999b (patch) | |
tree | 3beaed69bcb23d5d3ea2aad6f65d9185311618a8 /hcid | |
parent | dff80b644fb16f97962773c384de44b13fbdee56 (diff) |
Don't use lib prefix for plugins
Diffstat (limited to 'hcid')
-rw-r--r-- | hcid/plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/plugin.c b/hcid/plugin.c index acebed61..41c55155 100644 --- a/hcid/plugin.c +++ b/hcid/plugin.c @@ -110,7 +110,7 @@ gboolean plugin_init(GKeyFile *config) gchar *filename; struct stat st; - if (g_str_has_prefix(file, "lib") == FALSE || + if (g_str_has_prefix(file, "lib") == TRUE || g_str_has_suffix(file, ".so") == FALSE) continue; |