Skip to content

Commit

Permalink
Fix two error printouts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Linus Nordberg committed Apr 8, 2012
1 parent 6bf4f88 commit f41042e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radsecproxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit f41042e

Please sign in to comment.