* sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo which caused

bugs not to be reported.
This commit is contained in:
Ulrich Drepper 2006-04-26 19:36:15 +00:00
parent 797ed6f7e1
commit 105a492d4d
2 changed files with 4 additions and 1 deletions

View File

@ -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.

View 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)