2009-12-20 19:56:01 +00:00
|
|
|
diff --git a/lib/hostares.c b/lib/hostares.c
|
2010-02-11 11:31:31 +00:00
|
|
|
index 7cc24de..46e0f8a 100644
|
2009-12-20 19:56:01 +00:00
|
|
|
--- a/lib/hostares.c
|
|
|
|
+++ b/lib/hostares.c
|
2010-02-11 11:31:31 +00:00
|
|
|
@@ -381,7 +381,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
|
2009-12-20 19:56:01 +00:00
|
|
|
|
|
|
|
switch(data->set.ip_version) {
|
|
|
|
default:
|
|
|
|
-#if ARES_VERSION >= 0x010601
|
|
|
|
+#if 0
|
|
|
|
family = PF_UNSPEC; /* supported by c-ares since 1.6.1, so for older
|
|
|
|
c-ares versions this just falls through and defaults
|
|
|
|
to PF_INET */
|