mirror of
https://github.com/curl/curl.git
synced 2026-08-04 04:49:58 +03:00
Andrs Garca fixed a warning in the ioctlsocket() usage.
This commit is contained in:
parent
ecf7adba15
commit
40d9855df2
2 changed files with 2 additions and 2 deletions
|
|
@ -147,7 +147,7 @@ int Curl_nonblock(curl_socket_t sockfd, /* operate on this */
|
|||
|
||||
#ifdef HAVE_IOCTLSOCKET
|
||||
/* Windows? */
|
||||
int flags;
|
||||
unsigned long flags;
|
||||
flags = nonblock;
|
||||
return ioctlsocket(sockfd, FIONBIO, &flags);
|
||||
#define SETBLOCK 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue