From b2339578854c2a261f264997e4c94b676d6a723a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 1 Oct 2009 07:59:45 +0000 Subject: - Tom Mueller correctly reported in bug report #2870221 (http://curl.haxx.se/bug/view.cgi?id=2870221) that libcurl returned an incorrect return code from the internal trynextip() function which caused him grief. This is a regression that was introduced in 7.19.1 and I find it strange it hasn't hit us harder, but I won't persue into figuring out exactly why. --- lib/connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/connect.c b/lib/connect.c index aaeee6762..affb7fec5 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -502,7 +502,7 @@ static bool trynextip(struct connectdata *conn, /* store the new socket descriptor */ conn->sock[sockindex] = sockfd; conn->ip_addr = ai; - break; + return FALSE; } ai = ai->ai_next; } -- cgit v1.2.3