diff options
author | Linus Nordberg <linus@nordu.net> | 2012-04-03 16:56:23 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2012-04-08 12:16:52 +0200 |
commit | f41042e6afb1d12275fd3f30a1ecb309b83a2937 (patch) | |
tree | 0c6d10750b0f4ae4d9bb436585416614a814e330 | |
parent | 6bf4f8868cd1681a795b2f2cb87d3f86fa33c04a (diff) |
Fix two error printouts.
-rw-r--r-- | radsecproxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/radsecproxy.c b/radsecproxy.c index 4d6cc1a..b279418 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -2758,7 +2758,7 @@ int confclient_cb(struct gconffile **cf, void *arg, char *block, char *opt, char if (!addhostport(&conf->hostports, conf->hostsrc, conf->pdef->portdefault, 1) || !resolvehostports(conf->hostports, conf->pdef->socktype)) - debugx(1, DBG_ERR, "resolve failed, exiting"); + debugx(1, DBG_ERR, "%s: resolve failed, exiting", __func__); if (!conf->secret) { if (!conf->pdef->secretdefault) @@ -2820,7 +2820,7 @@ int compileserverconfig(struct clsrvconf *conf, const char *block) { } if (!conf->dynamiclookupcommand && !resolvehostports(conf->hostports, conf->pdef->socktype)) { - debug(DBG_ERR, "resolve failed, exiting"); + debug(DBG_ERR, "%s: resolve failed", __func__); return 0; } return 1; |