Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 29 Sep 2000 15:41:23 +0000 (15:41 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 29 Sep 2000 15:41:23 +0000 (15:41 +0000)
2000-09-29  Ulrich Drepper  <drepper@redhat.com>

* inet/getnameinfo.c (nrl_domainname): Use symbolic constant
INADDR_LOOPBACK instead of numeric value.

ChangeLog
inet/getnameinfo.c

index 1a17374..43db750 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 2a6e01f..0811f27 100644 (file)
@@ -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),