From cab479a0fb5250961ed279f98f941dc494ddc4c4 Mon Sep 17 00:00:00 2001 From: Dany LE Date: Tue, 4 Oct 2022 14:20:05 +0200 Subject: [PATCH] fix: plugin path bug --- plugin_manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin_manager.c b/plugin_manager.c index 3fa8b63..ebdb44c 100644 --- a/plugin_manager.c +++ b/plugin_manager.c @@ -72,7 +72,7 @@ void * plugin_from_file(char* name) { void *lib_handle; char* error; - char* path = __s("%s%s%s",config()->plugins_dir,name,config()->plugins_ext); + char* path = __s("%s/%s%s",config()->plugins_dir,name,config()->plugins_ext); void (*fn)(const char*); lib_handle = dlopen(path, RTLD_LAZY); if (!lib_handle)