Don't use NS_* names.

This commit is contained in:
Ulrich Drepper 2000-01-26 03:52:50 +00:00
parent d23cf99801
commit 356c0e28e5

View File

@ -205,7 +205,7 @@ cache_addhst (struct database *db, int fd, request_header *req, void *key,
unnecessarily let the receiver wait. */ unnecessarily let the receiver wait. */
written = write (fd, data, total); written = write (fd, data, total);
addr_list_type = (hst->h_length == NS_INADDRSZ addr_list_type = (hst->h_length == INADDRSZ
? GETHOSTBYADDR : GETHOSTBYADDRv6); ? GETHOSTBYADDR : GETHOSTBYADDRv6);
/* Compute the timeout time. */ /* Compute the timeout time. */
@ -340,7 +340,7 @@ addhstbyaddr (struct database *db, int fd, request_header *req,
seteuid (uid); seteuid (uid);
} }
while (__gethostbyaddr_r (key, NS_INADDRSZ, AF_INET, &resultbuf, buffer, while (__gethostbyaddr_r (key, INADDRSZ, AF_INET, &resultbuf, buffer,
buflen, &hst, &h_errno) != 0 buflen, &hst, &h_errno) != 0
&& h_errno == NETDB_INTERNAL && h_errno == NETDB_INTERNAL
&& errno == ERANGE) && errno == ERANGE)
@ -429,7 +429,7 @@ addhstbyaddrv6 (struct database *db, int fd, request_header *req,
seteuid (uid); seteuid (uid);
} }
while (__gethostbyaddr_r (key, NS_IN6ADDRSZ, AF_INET6, &resultbuf, while (__gethostbyaddr_r (key, IN6ADDRSZ, AF_INET6, &resultbuf,
buffer, buflen, &hst, &h_errno) != 0 buffer, buflen, &hst, &h_errno) != 0
&& h_errno == NETDB_INTERNAL && h_errno == NETDB_INTERNAL
&& errno == ERANGE) && errno == ERANGE)