* sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
This commit is contained in:
Ulrich Drepper 1999-02-16 11:06:33 +00:00
parent bc03c49eff
commit b09bb95838
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
1999-02-16 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
* time/time.h: Avoid unneccesary #ifdef.
1999-02-15 Geoff Keating <geoffk@ozemail.com.au>

View File

@ -533,7 +533,7 @@ getaddrinfo (const char *name, const char *service,
if (hints == NULL)
hints = &default_hints;
if (hints->ai_flags & ~(AI_PASSIVE|AI_CANANONNAME|AI_NUMERICHOST))
if (hints->ai_flags & ~(AI_PASSIVE|AI_CANONNAME|AI_NUMERICHOST))
return EAI_BADFLAGS;
if ((hints->ai_flags & AI_CANONNAME) && name == NULL)