]> granicus.if.org Git - curl/commitdiff
Typo fix in trynextip().
authorBjörn Stenberg <bjorn@haxx.se>
Sun, 27 Oct 2013 11:27:52 +0000 (12:27 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 27 Oct 2013 11:49:12 +0000 (12:49 +0100)
lib/connect.c

index 4bf0232f96d1ab5319d6caf81f7a4cf117b0986a..93b21352e555ef8ac5b2c1eb339ff7f16f493aef 100644 (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;