apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/network_io/win32 sockopt.c
Date Tue, 22 Oct 2002 20:00:07 GMT
trawick     2002/10/22 13:00:06

  Modified:    network_io/win32 sockopt.c
  Log:
  minor style tweaks
  
  Revision  Changes    Path
  1.46      +4 -4      apr/network_io/win32/sockopt.c
  
  Index: sockopt.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/win32/sockopt.c,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- sockopt.c	15 Jul 2002 20:29:38 -0000	1.45
  +++ sockopt.c	22 Oct 2002 20:00:06 -0000	1.46
  @@ -157,7 +157,7 @@
           }
           break;
       case APR_SO_REUSEADDR:
  -        if (on != apr_is_option_set(sock->netmask, APR_SO_REUSEADDR)){
  +        if (on != apr_is_option_set(sock->netmask, APR_SO_REUSEADDR)) {
               if (setsockopt(sock->socketdes, SOL_SOCKET, SO_REUSEADDR, 
                              (void *)&one, sizeof(int)) == -1) {
                   return apr_get_netos_error();
  @@ -166,7 +166,7 @@
           }
           break;
       case APR_SO_NONBLOCK:
  -        if (apr_is_option_set(sock->netmask, APR_SO_NONBLOCK) != on){
  +        if (apr_is_option_set(sock->netmask, APR_SO_NONBLOCK) != on) {
               if (on) {
                   if ((stat = sononblock(sock->socketdes)) != APR_SUCCESS) 
                       return stat;
  @@ -180,7 +180,7 @@
           break;
       case APR_SO_LINGER:
       {
  -        if (apr_is_option_set(sock->netmask, APR_SO_LINGER) != on){
  +        if (apr_is_option_set(sock->netmask, APR_SO_LINGER) != on) {
               struct linger li;
               li.l_onoff = on;
               li.l_linger = MAX_SECS_TO_LINGER;
  @@ -193,7 +193,7 @@
           break;
       }
       case APR_TCP_NODELAY:
  -        if (apr_is_option_set(sock->netmask, APR_TCP_NODELAY) != on){
  +        if (apr_is_option_set(sock->netmask, APR_TCP_NODELAY) != on) {
               if (setsockopt(sock->socketdes, IPPROTO_TCP, TCP_NODELAY, 
                              (void *)&on, sizeof(int)) == -1) {
                   return apr_get_netos_error();
  
  
  

Mime
View raw message