apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/network_io/win32 sockets.c
Date Sun, 10 Jun 2001 00:34:33 GMT
wrowe       01/06/09 17:34:33

  Modified:    network_io/win32 sockets.c
  Log:
    After some careful review, this compiler warning can be done away with
    on win32, since it serves no purpose on this platform.
  
  Revision  Changes    Path
  1.56      +5 -1      apr/network_io/win32/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/win32/sockets.c,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- sockets.c	2001/05/02 02:32:48	1.55
  +++ sockets.c	2001/06/10 00:34:32	1.56
  @@ -290,7 +290,11 @@
           /* wait for the connect to complete */
           FD_ZERO(&temp);
           FD_SET(sock->sock, &temp);
  -        if (select(sock->sock+1, NULL, &temp, NULL, NULL) == SOCKET_ERROR) {
  +        /* the select(nfds, ...) nfds arg is ignored 
  +         * we don't have a bit table for fd_set on Win32,
  +         * we have a messy dynamic crossref table.
  +         */
  +        if (select(FD_SETSIZE+1, NULL, &temp, NULL, NULL) == SOCKET_ERROR) {
               return apr_get_netos_error();
           }
       }
  
  
  

Mime
View raw message