From: Arran Cudbard-Bell Date: Fri, 19 Jun 2015 00:26:34 +0000 (-0400) Subject: output reference name (not the entire line) X-Git-Tag: release_3_0_9~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eab9eb823aae86f55baa8992b39d939b7b128e9a;p=thirdparty%2Ffreeradius-server.git output reference name (not the entire line) --- diff --git a/src/main/conffile.c b/src/main/conffile.c index 18e8ca10477..414f7a81f01 100644 --- a/src/main/conffile.c +++ b/src/main/conffile.c @@ -440,7 +440,7 @@ static int file_callback(void *ctx, void *data) *rcode = CF_FILE_MODULE; return 0; - + } /* @@ -1095,7 +1095,7 @@ static char const *cf_expand_variables(char const *cf, int *lineno, ci = cf_reference_item(parentcs, outercs, name); if (!ci) { if (soft_fail) *soft_fail = true; - ERROR("%s[%d]: Reference \"%s\" not found", cf, *lineno, input); + ERROR("%s[%d]: Reference \"${%s}\" not found", cf, *lineno, name); return NULL; }