Code

core: Make the plugin directory configurable.
[sysdb.git] / src / tools / sysdbd / configfile.c
index 25c9404108bef0b61cd0274829bccf539b2762aa..8dc4394f7abfce9450b82a6b01c69f6aa32eb74e 100644 (file)
@@ -176,7 +176,7 @@ daemon_load_plugin(oconfig_item_t *ci)
        }
 
        /* returns a negative value on error */
-       return sdb_plugin_load(name, NULL);
+       return sdb_plugin_load(NULL, name, NULL);
 } /* daemon_load_plugin */
 
 static int
@@ -215,7 +215,7 @@ daemon_load_backend(oconfig_item_t *ci)
                }
        }
 
-       return sdb_plugin_load(plugin_name, &ctx);
+       return sdb_plugin_load(NULL, plugin_name, &ctx);
 } /* daemon_load_backend */
 
 static int