From cb5b625fa09da45247b35e96257cd290987e1a53 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 8 Jan 2008 10:52:44 +0100 Subject: [PATCH] src/configfile.c: Improve the "Plugin `%s' did not register a callback." warning. --- src/configfile.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/configfile.c b/src/configfile.c index f4e9c604..176a1877 100644 --- a/src/configfile.c +++ b/src/configfile.c @@ -126,7 +126,9 @@ static int cf_dispatch (const char *type, const char *orig_key, if ((cf_cb = cf_search (type)) == NULL) { - WARNING ("Plugin `%s' did not register a callback.", type); + WARNING ("Found a configuration for the `%s' plugin, but " + "the plugin isn't loaded or didn't register " + "a configuration callback.", type); return (-1); } -- 2.11.0