mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:43:32 +03:00
fix compiler warning
This commit is contained in:
parent
3ca0b9bb47
commit
4ea513cc38
4 changed files with 23 additions and 9 deletions
|
|
@ -453,7 +453,17 @@ static bool juggle(curl_socket_t *sockfdp,
|
|||
FD_ZERO(&fds_write);
|
||||
FD_ZERO(&fds_err);
|
||||
|
||||
#ifdef USE_WINSOCK
|
||||
/*
|
||||
** WinSock select() does not support standard file descriptors,
|
||||
** it can only check SOCKETs. Since this program in its current
|
||||
** state will not work on WinSock based systems, next line is
|
||||
** commented out to allow warning-free compilation awaiting the
|
||||
** day it will be fixed to also run on WinSock systems.
|
||||
*/
|
||||
#else
|
||||
FD_SET(fileno(stdin), &fds_read);
|
||||
#endif
|
||||
|
||||
switch(*mode) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue