Typo fix in trynextip().

This commit is contained in:
Björn Stenberg 2013-10-27 12:27:52 +01:00 committed by Daniel Stenberg
parent 1709e5e966
commit 8230af0b94

View File

@ -573,7 +573,7 @@ static CURLcode trynextip(struct connectdata *conn,
do {
ai = ai->ai_next;
} while(ai && ai->ai_family == family);
} while(ai && ai->ai_family != family);
}
Curl_closesocket(conn, fd_to_close);
return CURLE_COULDNT_CONNECT;