apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: apr/include/arch/win32 apr_arch_networkio.h
Date Tue, 04 Nov 2003 01:36:59 GMT
brane       2003/11/03 17:36:59

  Modified:    include/arch/win32 apr_arch_networkio.h
  Log:
  Fix the Win32 build.
  
  * include/arch/win32/apr_arch_networkio.h (apr_set_option): Act on sockets,
    not masks. Analogous to rev 1.5 of the Unix version.
  
  Revision  Changes    Path
  1.4       +3 -3      apr/include/arch/win32/apr_arch_networkio.h
  
  Index: apr_arch_networkio.h
  ===================================================================
  RCS file: /home/cvs/apr/include/arch/win32/apr_arch_networkio.h,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- apr_arch_networkio.h	2 Nov 2003 20:51:18 -0000	1.3
  +++ apr_arch_networkio.h	4 Nov 2003 01:36:59 -0000	1.4
  @@ -101,12 +101,12 @@
   #define apr_is_option_set(skt, option)  \
       (((skt)->options & (option)) == (option))
   
  -#define apr_set_option(mask, option, on) \
  +#define apr_set_option(skt, option, on) \
       do {                                 \
           if (on)                          \
  -            *(mask) |= (option);         \
  +            (skt)->options |= (option);         \
           else                             \
  -            *(mask) &= ~(option);        \
  +            (skt)->options &= ~(option);        \
       } while (0)
   
   #endif  /* ! NETWORK_IO_H */
  
  
  

Mime
View raw message