diff options
author | Simon Josefsson <simon@josefsson.org> | 2006-06-28 12:28:55 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2006-06-28 12:28:55 +0000 |
commit | 5560df737663d77c2178a60043a472171913f581 (patch) | |
tree | 75e93bdab2180ff7e2e9fd714cbe3af0743a49a4 | |
parent | 03e2a52e25f4432ca5b55e871702eea8f7dec5ab (diff) | |
download | gnutls-5560df737663d77c2178a60043a472171913f581.tar.gz |
Update.
-rw-r--r-- | gl/getaddrinfo.c | 2 | ||||
-rw-r--r-- | gl/m4/getaddrinfo.m4 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gl/getaddrinfo.c b/gl/getaddrinfo.c index 44d06d2030..a7c4f783b8 100644 --- a/gl/getaddrinfo.c +++ b/gl/getaddrinfo.c @@ -369,7 +369,7 @@ int getnameinfo(const struct sockaddr *restrict sa, socklen_t salen, } } - if (service && servicelen > 0 && flags & NI_NUMERICHOST) + if (service && servicelen > 0 && flags & NI_NUMERICSERV) switch (sa->sa_family) { #if HAVE_IPV4 diff --git a/gl/m4/getaddrinfo.m4 b/gl/m4/getaddrinfo.m4 index b752c4719f..8d57bb3276 100644 --- a/gl/m4/getaddrinfo.m4 +++ b/gl/m4/getaddrinfo.m4 @@ -1,4 +1,4 @@ -# getaddrinfo.m4 serial 9 +# getaddrinfo.m4 serial 10 dnl Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, |