From: Patrick Monnerat Date: Mon, 15 Dec 2014 15:36:57 +0000 (+0100) Subject: connect: singleipconnect(): properly try other address families after failure X-Git-Tag: curl-7_40_0~130 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=759d049ae819adc1e913950da4772b5a6163eb79;p=curl connect: singleipconnect(): properly try other address families after failure --- diff --git a/lib/connect.c b/lib/connect.c index b3a96ce83..203345b92 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -1049,7 +1049,7 @@ static CURLcode singleipconnect(struct connectdata *conn, if(result == CURLE_UNSUPPORTED_PROTOCOL) { /* The address family is not supported on this interface. We can continue trying addresses */ - return CURLE_OK; + return CURLE_COULDNT_CONNECT; } return result; }