mirror of
https://github.com/curl/curl.git
synced 2026-08-25 22:13:33 +03:00
Use curl_socket_t instead of int for holding sockets. The typedefs and
defines are in setup.h.
This commit is contained in:
parent
dad0715d79
commit
ce5805a955
15 changed files with 59 additions and 46 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue