aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2011-02-27 13:01:41 +0100
committerJohannes Berg <johannes@sipsolutions.net>2011-02-27 13:01:41 +0100
commit50e2cd6a909000111136cbec1e7a2affd457b31d (patch)
treeacc825042ed9eabbd1d3cc9a27c4d318b92dd335
parentdab81fb66f30a46c341ebb237e7aa5a6c1fb983b (diff)
downloaddovecot-antispam-50e2cd6a909000111136cbec1e7a2affd457b31d.tar.gz
dovecot-antispam-50e2cd6a909000111136cbec1e7a2affd457b31d.tar.xz
dovecot-antispam-50e2cd6a909000111136cbec1e7a2affd457b31d.zip
bugfix: add / when generating plugin path name
-rw-r--r--antispam-plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/antispam-plugin.c b/antispam-plugin.c
index a620e4e..23a61c0 100644
--- a/antispam-plugin.c
+++ b/antispam-plugin.c
@@ -332,7 +332,7 @@ void PLUGIN_FUNCTION(init)(void)
void *lib;
if (*tmp != '/')
- tmp = t_strconcat(BACKENDDIR, tmp, ".so", NULL);
+ tmp = t_strconcat(BACKENDDIR, "/", tmp, ".so", NULL);
lib = dlopen(tmp, RTLD_NOW | RTLD_LOCAL);
if (!lib) {