diff options
Diffstat (limited to 'sysdeps/posix')
-rw-r--r-- | sysdeps/posix/getaddrinfo.c | 2 |
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) |