Skip to content

Commit

Permalink
Fix spurious UNAVAIL status is getaddrinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schwab authored and Ulrich Drepper committed Mar 26, 2010
1 parent 2b0fba7 commit c3dfadb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 1 addition & 0 deletions sysdeps/posix/getaddrinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c3dfadb

Please sign in to comment.