about summary refs log tree commit diff
path: root/sysdeps/posix/getaddrinfo.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-02-16 11:06:33 +0000
committerUlrich Drepper <drepper@redhat.com>1999-02-16 11:06:33 +0000
commitb09bb95838b30dc92e4e83909b350d46a09c100a (patch)
tree5035bf46b3dcf5c1364df16a4a241b2af6ad5f1a /sysdeps/posix/getaddrinfo.c
parentbc03c49eff8e75b47030c8a0a18238955f02c418 (diff)
downloadglibc-b09bb95838b30dc92e4e83909b350d46a09c100a.tar.gz
glibc-b09bb95838b30dc92e4e83909b350d46a09c100a.tar.xz
glibc-b09bb95838b30dc92e4e83909b350d46a09c100a.zip
Update.
	* sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
Diffstat (limited to 'sysdeps/posix/getaddrinfo.c')
-rw-r--r--sysdeps/posix/getaddrinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c
index 884a27c4e1..bee95acabc 100644
--- a/sysdeps/posix/getaddrinfo.c
+++ b/sysdeps/posix/getaddrinfo.c
@@ -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)