Mailing Lists
|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[curl:bugs] #1322 --disable-ipv6 never compiles 7.34.0
From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Wed, 08 Jan 2014 08:43:47 +0000
Thanks a lot for your report and patch! I did the #ifdef based on ENABLE_IPV6 instead simply because that's how all the other IPv6 conditionals are made.
I've now pushed this change to git. Case closed!
---
** [bugs:#1322] --disable-ipv6 never compiles 7.34.0**
**Status:** closed-fixed
**Created:** Wed Jan 08, 2014 07:56 AM UTC by IIDA Yosiaki
**Last Updated:** Wed Jan 08, 2014 07:56 AM UTC
**Owner:** Daniel Stenberg
cURL 7.34.0 never compile when you specify --disable-ipv6 and you really do not have IPv6.
Feel free to apply the patch follows.
--- lib/connect.c~ 2013-12-16 22:02:35
+++ lib/connect.c 2014-01-08 07:25:56
@@ -558,3 +558,7 @@
int firstfamily = conn->tempaddr[0]->ai_family;
+#ifdef AF_INET6
family = (firstfamily == AF_INET) ? AF_INET6 : AF_INET;
+#else
+ family = firstfamily;
+#endif
ai = conn->tempaddr[0]->ai_next;
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-01-08
These mail archives are generated by hypermail. |
Page updated December 29, 2013.
web site info