Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-01-31 18:30:42 +0300
committerCorinna Vinschen <corinna@vinschen.de>2007-01-31 18:30:42 +0300
commit9cde55ad2d4cb68ad61167e570f83894a1a04423 (patch)
tree173b6eee349f8d6ebd21d016a141e661cbd4a308 /winsup/cygwin/net.cc
parentc2decfdc8a508e3fbc299c67964895ba8d593365 (diff)
* net.cc (cygwin_getaddrinfo): Fix thinko in AI_ADDRCONFIG handling.
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r--winsup/cygwin/net.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc
index 5ece8590f..ad99bc277 100644
--- a/winsup/cygwin/net.cc
+++ b/winsup/cygwin/net.cc
@@ -3902,8 +3902,7 @@ cygwin_getaddrinfo (const char *hostname, const char *servname,
apparently for performance reasons. To get the POSIX default
behaviour, the AI_ALL flag has to be set. */
if (wincap.has_gaa_on_link_prefix ()
- && hints && (hints->ai_flags & AI_ADDRCONFIG)
- && hints->ai_family == PF_UNSPEC)
+ && hints && hints->ai_family == PF_UNSPEC)
{
nhints = *hints;
hints = &nhints;