aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-10-01 07:59:45 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-10-01 07:59:45 +0000
commitb2339578854c2a261f264997e4c94b676d6a723a (patch)
tree51c6acc03a71ad0f683661201db5537019633e96 /lib
parent492aed14504e1d6bdb71476bf146287d1ae2fa64 (diff)
- 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.
Diffstat (limited to 'lib')
-rw-r--r--lib/connect.c2
1 files changed, 1 insertions, 1 deletions
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;
}