singleipconnect() returns a socket descriptor, not a CURLcode (but perhaps

we should make it do that...)
This commit is contained in:
Daniel Stenberg 2005-04-30 15:16:39 +00:00
parent ccfc1ddbef
commit ae1d6f29d9
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}