* sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo which caused cvs/fedora-glibc-20060426T2000
authorUlrich Drepper <drepper@redhat.com>
Wed, 26 Apr 2006 19:36:15 +0000 (19:36 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 26 Apr 2006 19:36:15 +0000 (19:36 +0000)
bugs not to be reported.

ChangeLog
sysdeps/posix/getaddrinfo.c

index 4515bfa2b4bb18aa3e4aac505b040913e6d4a2a3..8e4d31b78153dc3dea916265acffd1b4e4896281 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-04-26  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo which caused
+       bugs not to be reported.
+
        * nscd/nscd.h (struct database_dyn): Add propagate field.
        * nscd/nscd_conf.c (nscd_parse_file): Parse auto-propagate lines.
        * nscd/nscd.conf: Add auto-propagate lines.
index e4fea334ca4abd99ba19953737420bd91d8297b5..03d26086ac68a7503a2badf6d833d0c0d1e46669 100644 (file)
@@ -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)