From a22a088109b664efdee397affed55b039cb0999b Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 30 Jun 2008 05:47:13 +0000 Subject: Don't use lib prefix for plugins --- hcid/plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hcid/plugin.c') 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; -- cgit