Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
eduroam
radsecproxy
Commits
f41042e6
Commit
f41042e6
authored
Apr 03, 2012
by
Linus Nordberg
Browse files
Fix two error printouts.
parent
6bf4f886
Changes
1
Hide whitespace changes
Inline
Side-by-side
radsecproxy.c
View file @
f41042e6
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment