From ae1d6f29d93ec987d829dd407cb8958c341edfe0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 30 Apr 2005 15:16:39 +0000 Subject: singleipconnect() returns a socket descriptor, not a CURLcode (but perhaps we should make it do that...) --- lib/connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/connect.c b/lib/connect.c index c7b3c51bb..17a2c94de 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -645,7 +645,7 @@ singleipconnect(struct connectdata *conn, CURLcode res = bindlocal(conn, sockfd); if(res) { sclose(sockfd); /* close socket and bail out */ - return res; + return CURL_SOCKET_BAD; } } -- cgit v1.2.3