Skip to content

Commit

Permalink
connect: singleipconnect(): properly try other address families after…
Browse files Browse the repository at this point in the history
… failure
  • Loading branch information
Patrick Monnerat committed Dec 16, 2014
1 parent 1befebc commit 759d049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/connect.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 759d049

Please sign in to comment.