From 105a492d4d227413fdbb677df0de8f8d1cb8dc3e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 26 Apr 2006 19:36:15 +0000 Subject: * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo which caused bugs not to be reported. --- sysdeps/posix/getaddrinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/posix/getaddrinfo.c') 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) -- cgit 1.4.1