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 4bf0232..93b2135 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;