cURL

curl's project page on SourceForge.net

Sponsors:
Haxx

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:46 +0000

- **status**: open --> closed-fixed
- **assigned_to**: Daniel Stenberg

---
** [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.

donate! Page updated December 29, 2013.
web site info

File upload with ASP.NET