Use curl_socket_t instead of int for holding sockets. The typedefs and

defines are in setup.h.
This commit is contained in:
Daniel Stenberg 2004-03-09 22:52:50 +00:00
parent dad0715d79
commit ce5805a955
15 changed files with 59 additions and 46 deletions

View file

@ -263,7 +263,7 @@ CURLMcode curl_multi_fdset(CURLM *multi_handle,
/* when we're waiting for a connect, we wait for the socket to
become writable */
struct connectdata *conn = easy->easy_conn;
int sockfd;
curl_socket_t sockfd;
if(CURLM_STATE_WAITCONNECT == easy->state) {
sockfd = conn->sock[FIRSTSOCKET];