From: Björn Stenberg Date: Sun, 27 Oct 2013 11:27:52 +0000 (+0100) Subject: Typo fix in trynextip(). X-Git-Tag: curl-7_34_0~180 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8230af0b9420617f275bd4dea921610e960bb997;p=thirdparty%2Fcurl.git Typo fix in trynextip(). --- diff --git a/lib/connect.c b/lib/connect.c index 4bf0232f96..93b21352e5 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -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;