Update.
2000-09-29 Ulrich Drepper <drepper@redhat.com> * inet/getnameinfo.c (nrl_domainname): Use symbolic constant INADDR_LOOPBACK instead of numeric value.
This commit is contained in:
parent
98da3ec2ba
commit
062a2a18f4
@ -1,3 +1,8 @@
|
||||
2000-09-29 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* inet/getnameinfo.c (nrl_domainname): Use symbolic constant
|
||||
INADDR_LOOPBACK instead of numeric value.
|
||||
|
||||
2000-09-28 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
|
||||
|
@ -134,7 +134,7 @@ nrl_domainname (void)
|
||||
{
|
||||
struct in_addr in_addr;
|
||||
|
||||
in_addr.s_addr = htonl (0x7f000001);
|
||||
in_addr.s_addr = htonl (INADDR_LOOPBACK);
|
||||
|
||||
while (__gethostbyaddr_r ((const char *) &in_addr,
|
||||
sizeof (struct in_addr),
|
||||
|
Loading…
Reference in New Issue
Block a user