about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-03-26 05:52:39 -0700
committerUlrich Drepper <drepper@redhat.com>2010-03-26 05:52:39 -0700
commit07f9ca32a96891c90cb80aee780c8cee2c9504e4 (patch)
tree55a045106854df783a3b7c68373affdef2f1176e
parent7c9302908ee9ce1c21d930923a879c2cbef5242f (diff)
downloadglibc-07f9ca32a96891c90cb80aee780c8cee2c9504e4.tar.gz
glibc-07f9ca32a96891c90cb80aee780c8cee2c9504e4.tar.xz
glibc-07f9ca32a96891c90cb80aee780c8cee2c9504e4.zip
Fix one case of last checkin.
If the v4 lookup failed but v6 succeeded we treat this as a success.
-rw-r--r--sysdeps/posix/getaddrinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c
index 597189f744..2e0c7248f0 100644
--- a/sysdeps/posix/getaddrinfo.c
+++ b/sysdeps/posix/getaddrinfo.c
@@ -817,6 +817,7 @@ gaih_inet (const char *name, const struct gaih_service *service,
 				    canon = name;
 				}
 			    }
+			  status = NSS_STATUS_SUCCESS;
 			}
 		      else
 			{