Fix spurious UNAVAIL status is getaddrinfo

This commit is contained in:
Andreas Schwab 2010-03-26 05:35:50 -07:00 committed by Ulrich Drepper
parent 2b0fba7530
commit c3dfadb87e
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2010-03-25 Andreas Schwab <schwab@redhat.com>
* sysdeps/posix/getaddrinfo.c (gaih_inet): Reset no_data before
each action.
2010-03-26 Ulrich Drepper <drepper@redhat.com>
* malloc/malloc.c: Remove stale reference to website.

View file

@ -702,6 +702,7 @@ gaih_inet (const char *name, const struct gaih_service *service,
while (!no_more)
{
no_data = 0;
nss_gethostbyname4_r fct4
= __nss_lookup_function (nip, "gethostbyname4_r");
if (fct4 != NULL)