diff options
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1378,7 +1378,7 @@ CURLcode Curl_disconnect(struct connectdata *conn) * be dead. Most commonly this happens when the server has closed the * connection due to inactivity. */ -static bool SocketIsDead(int sock) +static bool SocketIsDead(curl_socket_t sock) { int sval; bool ret_val = TRUE; @@ -1386,7 +1386,7 @@ static bool SocketIsDead(int sock) struct timeval to; FD_ZERO(&check_set); - FD_SET(sock,&check_set); + FD_SET(sock, &check_set); to.tv_sec = 0; to.tv_usec = 0; |