2
0
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:
Mark Andrews
2000-01-24 06:41:12 +00:00
parent 6182613ef5
commit 6f2a61172f

View File

@@ -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);