diff options
Diffstat (limited to 'lib/connect.h')
-rw-r--r-- | lib/connect.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/connect.h b/lib/connect.h index 57b1c2f2d..2c6b10a38 100644 --- a/lib/connect.h +++ b/lib/connect.h @@ -47,11 +47,10 @@ long Curl_timeleft(struct connectdata *conn, * Used to extract socket and connectdata struct for the most recent * transfer on the given SessionHandle. * - * The socket 'long' will be -1 in case of failure! + * The returned socket will be CURL_SOCKET_BAD in case of failure! */ -CURLcode Curl_getconnectinfo(struct SessionHandle *data, - long *param_longp, - struct connectdata **connp); +curl_socket_t Curl_getconnectinfo(struct SessionHandle *data, + struct connectdata **connp); #ifdef WIN32 /* When you run a program that uses the Windows Sockets API, you may |