diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-10-10 14:51:46 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-10-10 14:51:46 +0000 |
commit | 2a61a5442b614a0f6b4b5c63501b641e83e8f229 (patch) | |
tree | 961710f1db68abe5e14c13f3cada17194cfdc9ad /nss | |
parent | 74b2c78b9216d1d1642261da42bbe64544a667aa (diff) | |
download | glibc-2a61a5442b614a0f6b4b5c63501b641e83e8f229.tar glibc-2a61a5442b614a0f6b4b5c63501b641e83e8f229.tar.gz glibc-2a61a5442b614a0f6b4b5c63501b641e83e8f229.tar.bz2 glibc-2a61a5442b614a0f6b4b5c63501b641e83e8f229.zip |
Updated to fedora-glibc-20051010T1417
Diffstat (limited to 'nss')
-rw-r--r-- | nss/getent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nss/getent.c b/nss/getent.c index 02bba39752..489420ef79 100644 --- a/nss/getent.c +++ b/nss/getent.c @@ -280,9 +280,9 @@ hosts_keys (int number, char *key[]) char addr[IN6ADDRSZ]; if (inet_pton (AF_INET6, key[i], &addr) > 0) - host = gethostbyaddr (addr, sizeof (addr), AF_INET6); + host = gethostbyaddr (addr, IN6ADDRSZ, AF_INET6); else if (inet_pton (AF_INET, key[i], &addr) > 0) - host = gethostbyaddr (addr, sizeof (addr), AF_INET); + host = gethostbyaddr (addr, INADDRSZ, AF_INET); else if ((host = gethostbyname2 (key[i], AF_INET6)) == NULL) host = gethostbyname2 (key[i], AF_INET); |