mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-05 22:39:35 -05:00
cast for less warnings
git-svn-id: file:///svn/unbound/trunk@122 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
b310215e81
commit
bdb948f715
1 changed files with 1 additions and 1 deletions
|
|
@ -208,7 +208,7 @@ make_sock(int stype, const char* ifname, const char* port,
|
|||
if((r=getaddrinfo(ifname, port, hints, &res)) != 0 || !res) {
|
||||
log_err("node %s:%s getaddrinfo: %s %s",
|
||||
ifname?ifname:"default", port, gai_strerror(r),
|
||||
r==EAI_SYSTEM?strerror(errno):"");
|
||||
r==EAI_SYSTEM?(char*)strerror(errno):"");
|
||||
return -1;
|
||||
}
|
||||
if(stype == SOCK_DGRAM)
|
||||
|
|
|
|||
Loading…
Reference in a new issue