Typo fix in trynextip().
This commit is contained in:
committed by
Daniel Stenberg
parent
1709e5e966
commit
8230af0b94
@@ -573,7 +573,7 @@ static CURLcode trynextip(struct connectdata *conn,
|
|||||||
|
|
||||||
do {
|
do {
|
||||||
ai = ai->ai_next;
|
ai = ai->ai_next;
|
||||||
} while(ai && ai->ai_family == family);
|
} while(ai && ai->ai_family != family);
|
||||||
}
|
}
|
||||||
Curl_closesocket(conn, fd_to_close);
|
Curl_closesocket(conn, fd_to_close);
|
||||||
return CURLE_COULDNT_CONNECT;
|
return CURLE_COULDNT_CONNECT;
|
||||||
|
|||||||
Reference in New Issue
Block a user