mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-28 04:34:54 +02:00
- made lint clean.
git-svn-id: file:///svn/unbound/trunk@3050 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
+2
-2
@@ -890,12 +890,12 @@ proxy_list_clear(struct proxy* p)
|
||||
if(inet_ntop(AF_INET6,
|
||||
&((struct sockaddr_in6*)&p->addr)->sin6_addr,
|
||||
from, (socklen_t)sizeof(from)) == 0)
|
||||
strlcpy(from, "err", sizeof(from));
|
||||
(void)strlcpy(from, "err", sizeof(from));
|
||||
} else {
|
||||
if(inet_ntop(AF_INET,
|
||||
&((struct sockaddr_in*)&p->addr)->sin_addr,
|
||||
from, (socklen_t)sizeof(from)) == 0)
|
||||
strlcpy(from, "err", sizeof(from));
|
||||
(void)strlcpy(from, "err", sizeof(from));
|
||||
}
|
||||
printf("client[%d]: last %s@%d of %d : %u in, %u out, "
|
||||
"%u returned\n", i++, from, port, (int)p->numreuse+1,
|
||||
|
||||
Reference in New Issue
Block a user