diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-09-29 15:41:23 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-09-29 15:41:23 +0000 |
commit | 062a2a18f425f8b6c667b7239afeed2dd80d5e45 (patch) | |
tree | f074c1cd78b5bef701793a7a18eb1e8f224cfbee | |
parent | 98da3ec2ba3c320c140e461fa23fabd66bced868 (diff) | |
download | glibc-062a2a18f425f8b6c667b7239afeed2dd80d5e45.tar.gz glibc-062a2a18f425f8b6c667b7239afeed2dd80d5e45.tar.xz glibc-062a2a18f425f8b6c667b7239afeed2dd80d5e45.zip |
Update.
2000-09-29 Ulrich Drepper <drepper@redhat.com> * inet/getnameinfo.c (nrl_domainname): Use symbolic constant INADDR_LOOPBACK instead of numeric value.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | inet/getnameinfo.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 1a173745f0..43db7507af 100644 --- 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 diff --git a/inet/getnameinfo.c b/inet/getnameinfo.c index 2a6e01f505..0811f2775f 100644 --- a/inet/getnameinfo.c +++ b/inet/getnameinfo.c @@ -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), |