about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-04-26 19:36:15 +0000
committerUlrich Drepper <drepper@redhat.com>2006-04-26 19:36:15 +0000
commit105a492d4d227413fdbb677df0de8f8d1cb8dc3e (patch)
treee4ab4ac593b9c2c48ba699d5ae5c4992251f96bc /sysdeps
parent797ed6f7e17732cb207293d406d6cf14336f5de0 (diff)
downloadglibc-105a492d4d227413fdbb677df0de8f8d1cb8dc3e.tar.gz
glibc-105a492d4d227413fdbb677df0de8f8d1cb8dc3e.tar.xz
glibc-105a492d4d227413fdbb677df0de8f8d1cb8dc3e.zip
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo which caused cvs/fedora-glibc-20060426T2000
	bugs not to be reported.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/posix/getaddrinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c
index e4fea334ca..03d26086ac 100644
--- a/sysdeps/posix/getaddrinfo.c
+++ b/sysdeps/posix/getaddrinfo.c
@@ -1643,7 +1643,7 @@ getaddrinfo (const char *name, const char *service,
 	  freeaddrinfo (p);
 	  free (in6ai);
 
-	  return -(i & GAIH_EAI);
+	  return -(last_i & GAIH_EAI);
 	}
       if (end)
 	while (*end)