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 sockopt.c
Date Mon, 06 Aug 2001 15:57:29 GMT
bnicholes    01/08/06 08:57:29

  Modified:    network_io/win32 sockopt.c
  Log:
  Fixed the data types of the local variables used in the calls to ioctlsocket() to
  conform to the prototypes in order to clean up a type mismatch problem
  during compilation.
  
  Revision  Changes    Path
  1.34      +2 -2      apr/network_io/win32/sockopt.c
  
  Index: sockopt.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/win32/sockopt.c,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- sockopt.c	2001/04/02 17:54:02	1.33
  +++ sockopt.c	2001/08/06 15:57:29	1.34
  @@ -60,7 +60,7 @@
   
   apr_status_t soblock(SOCKET sd)
   {
  -    int zero = 0;
  +    u_long zero = 0;
   
       if (ioctlsocket(sd, FIONBIO, &zero) == SOCKET_ERROR) {
           return apr_get_netos_error();
  @@ -70,7 +70,7 @@
   
   apr_status_t sononblock(SOCKET sd)
   {
  -    int one = 1;
  +    u_long one = 1;
   
       if (ioctlsocket(sd, FIONBIO, &one) == SOCKET_ERROR) {
           return apr_get_netos_error();
  
  
  

Mime
View raw message