summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/cf-socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libcurl/src/cf-socket.h')
-rw-r--r--libs/libcurl/src/cf-socket.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/libcurl/src/cf-socket.h b/libs/libcurl/src/cf-socket.h
index e62c064cff..520e764c1c 100644
--- a/libs/libcurl/src/cf-socket.h
+++ b/libs/libcurl/src/cf-socket.h
@@ -25,7 +25,7 @@
***************************************************************************/
#include "curl_setup.h"
-#include "nonblock.h" /* for curlx_nonblock(), formerly Curl_nonblock() */
+#include "curlx/nonblock.h" /* for curlx_nonblock() */
#include "sockaddr.h"
struct Curl_addrinfo;
@@ -95,9 +95,9 @@ void Curl_sndbuf_init(curl_socket_t sockfd);
* Assign the address `ai` to the Curl_sockaddr_ex `dest` and
* set the transport used.
*/
-void Curl_sock_assign_addr(struct Curl_sockaddr_ex *dest,
- const struct Curl_addrinfo *ai,
- int transport);
+CURLcode Curl_sock_assign_addr(struct Curl_sockaddr_ex *dest,
+ const struct Curl_addrinfo *ai,
+ int transport);
/**
* Creates a cfilter that opens a TCP socket to the given address