mirror of
https://github.com/curl/curl.git
synced 2026-06-03 01:14:54 +03:00
singleipconnect() returns a socket descriptor, not a CURLcode (but perhaps
we should make it do that...)
This commit is contained in:
parent
ccfc1ddbef
commit
ae1d6f29d9
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue