mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
remove & before array
This commit is contained in:
@@ -123,10 +123,12 @@ getnameinfo(const struct sockaddr *sa, size_t salen, char *host,
|
|||||||
port = ((struct sockaddr_in *)sa)->sin_port;
|
port = ((struct sockaddr_in *)sa)->sin_port;
|
||||||
addr = &((struct sockaddr_in *)sa)->sin_addr.s_addr;
|
addr = &((struct sockaddr_in *)sa)->sin_addr.s_addr;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AF_INET6:
|
case AF_INET6:
|
||||||
port = ((struct sockaddr_in6 *)sa)->sin6_port;
|
port = ((struct sockaddr_in6 *)sa)->sin6_port;
|
||||||
addr = &((struct sockaddr_in6 *)sa)->sin6_addr.s6_addr;
|
addr = ((struct sockaddr_in6 *)sa)->sin6_addr.s6_addr;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
INSIST(port = 0);
|
INSIST(port = 0);
|
||||||
INSIST(addr = NULL);
|
INSIST(addr = NULL);
|
||||||
|
Reference in New Issue
Block a user