aboutsummaryrefslogtreecommitdiff
path: root/inet
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-29 15:41:23 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-29 15:41:23 +0000
commit062a2a18f425f8b6c667b7239afeed2dd80d5e45 (patch)
treef074c1cd78b5bef701793a7a18eb1e8f224cfbee /inet
parent98da3ec2ba3c320c140e461fa23fabd66bced868 (diff)
downloadglibc-062a2a18f425f8b6c667b7239afeed2dd80d5e45.tar
glibc-062a2a18f425f8b6c667b7239afeed2dd80d5e45.tar.gz
glibc-062a2a18f425f8b6c667b7239afeed2dd80d5e45.tar.bz2
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.
Diffstat (limited to 'inet')
-rw-r--r--inet/getnameinfo.c2
1 files changed, 1 insertions, 1 deletions
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),