httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@hyperreal.org
Subject cvs commit: apache-apr/apr/network_io/unix sockets.c
Date Wed, 26 May 1999 20:26:21 GMT
rbb         99/05/26 13:26:21

  Modified:    apr/network_io/unix sockets.c
  Log:
  Should really cast this value so we can avoid warnings on some platforms.
  
  Revision  Changes    Path
  1.18      +1 -1      apache-apr/apr/network_io/unix/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apache-apr/apr/network_io/unix/sockets.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- sockets.c	1999/05/25 17:03:48	1.17
  +++ sockets.c	1999/05/26 20:26:17	1.18
  @@ -197,7 +197,7 @@
      
       sock->addr_len = sizeof(*sock->addr);
   
  -    if ((connect(sock->socketdes, sock->addr, sock->addr_len) < 0) &&
  +    if ((connect(sock->socketdes, (const struct sockaddr *)sock->addr, sock->addr_len)
< 0) &&
           (errno != EINPROGRESS)) {
           return errno;
       }
  
  
  

Mime
View raw message