diff options
author | Björn Stenberg <bjorn@haxx.se> | 2013-10-27 12:27:52 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-10-27 12:49:12 +0100 |
commit | 8230af0b9420617f275bd4dea921610e960bb997 (patch) | |
tree | 5635e6361da757feeeae1befc253f16fbb5184be | |
parent | 1709e5e9667dc6e4d093eab881dc84907dd4eb37 (diff) |
Typo fix in trynextip().
-rw-r--r-- | lib/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c index 4bf0232f9..93b21352e 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; |