apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: apr/network_io/win32 sockets.c
Date Mon, 06 Aug 2001 20:47:11 GMT
bnicholes    01/08/06 13:47:11

  Modified:    network_io/win32 sockets.c
  Log:
  Changed the type of a local variable used in the call to getsockopt() from
  unsigned int to int as per the prototype.  This avoids a type mismatch during
  compilation.
  
  Revision  Changes    Path
  1.64      +1 -1      apr/network_io/win32/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/win32/sockets.c,v
  retrieving revision 1.63
  retrieving revision 1.64
  diff -u -r1.63 -r1.64
  --- sockets.c	2001/07/18 17:23:38	1.63
  +++ sockets.c	2001/08/06 20:47:11	1.64
  @@ -324,7 +324,7 @@
           /* Evaluate the efdset */
           if (FD_ISSET(sock->sock, &efdset)) {
               /* The connect failed. */
  -            unsigned int rclen = sizeof(rc);
  +            int rclen = sizeof(rc);
               if (getsockopt(sock->sock, SOL_SOCKET, SO_ERROR, (char*) &rc, &rclen))
{
                   return apr_get_netos_error();
               }
  
  
  

Mime
View raw message