fix compiler warning

This commit is contained in:
Yang Tse 2009-06-12 02:41:16 +00:00
parent 3ca0b9bb47
commit 4ea513cc38
4 changed files with 23 additions and 9 deletions

View file

@ -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) {