connect: singleipconnect(): properly try other address families after failure

This commit is contained in:
Patrick Monnerat 2014-12-15 16:36:57 +01:00
parent 1befebc950
commit 759d049ae8
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}