From: Sebastian Harl Date: Sun, 1 Feb 2015 09:39:55 +0000 (+0100) Subject: plugin: Fixed log message for newly registered config callbacks. X-Git-Tag: sysdb-0.7.0~24 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=31d068952acfc37aae3d534ec42bce439423e71d;p=sysdb.git plugin: Fixed log message for newly registered config callbacks. --- diff --git a/src/core/plugin.c b/src/core/plugin.c index e2fce04..da77f8e 100644 --- a/src/core/plugin.c +++ b/src/core/plugin.c @@ -742,7 +742,7 @@ sdb_plugin_register_config(sdb_plugin_config_cb callback) "config callback from outside a plugin"); return -1; } - return plugin_add_callback(&config_list, "init", ctx->info.plugin_name, + return plugin_add_callback(&config_list, "config", ctx->info.plugin_name, (void *)callback, NULL); } /* sdb_plugin_register_config */