httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@hyperreal.org
Subject cvs commit: apache-2.0/src/lib/apr/network_io/win32 sockets.c
Date Tue, 02 Nov 1999 21:21:55 GMT
manoj       99/11/02 13:21:55

  Modified:    src/lib/apr/network_io/beos sockets.c
               src/lib/apr/network_io/os2 sockets.c
               src/lib/apr/network_io/unix sockets.c
               src/lib/apr/network_io/win32 sockets.c
  Log:
  Fix an APR socket bug. ap_bind would always bind to INADDR_ANY, no
  matter what.
  
  Revision  Changes    Path
  1.14      +0 -1      apache-2.0/src/lib/apr/network_io/beos/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/beos/sockets.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -d -u -r1.13 -r1.14
  --- sockets.c	1999/11/02 14:16:10	1.13
  +++ sockets.c	1999/11/02 21:21:51	1.14
  @@ -126,7 +126,6 @@
   
   ap_status_t ap_bind(struct socket_t *sock) 
   { 
  -    sock->local_addr->sin_addr.s_addr = INADDR_ANY;
       if (bind(sock->socketdes, (struct sockaddr *)sock->local_addr, sock->addr_len)
== -1) 
           return errno; 
       else 
  
  
  
  1.9       +0 -1      apache-2.0/src/lib/apr/network_io/os2/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/os2/sockets.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -d -u -r1.8 -r1.9
  --- sockets.c	1999/11/01 00:49:39	1.8
  +++ sockets.c	1999/11/02 21:21:52	1.9
  @@ -133,7 +133,6 @@
   
   ap_status_t ap_bind(struct socket_t *sock)
   {
  -    sock->local_addr->sin_addr.s_addr = INADDR_ANY;
       if (bind(sock->socketdes, (struct sockaddr *)sock->local_addr, sock->addr_len)
== -1)
           return os2errno(sock_errno());
       else
  
  
  
  1.22      +0 -1      apache-2.0/src/lib/apr/network_io/unix/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/unix/sockets.c,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -d -u -r1.21 -r1.22
  --- sockets.c	1999/11/01 00:49:41	1.21
  +++ sockets.c	1999/11/02 21:21:53	1.22
  @@ -163,7 +163,6 @@
    */
   ap_status_t ap_bind(struct socket_t *sock)
   {
  -    sock->local_addr->sin_addr.s_addr = INADDR_ANY;
       if (bind(sock->socketdes, (struct sockaddr *)sock->local_addr, sock->addr_len)
== -1)
           return errno;
       else
  
  
  
  1.14      +0 -1      apache-2.0/src/lib/apr/network_io/win32/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/win32/sockets.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -d -u -r1.13 -r1.14
  --- sockets.c	1999/11/01 00:49:44	1.13
  +++ sockets.c	1999/11/02 21:21:54	1.14
  @@ -142,7 +142,6 @@
   
   ap_status_t ap_bind(struct socket_t *sock)
   {
  -    sock->local_addr->sin_addr.s_addr = INADDR_ANY;
       if (bind(sock->sock, (struct sockaddr *)sock->local_addr, sock->addr_len)
== -1) {
           return errno;
       }
  
  
  

Mime
View raw message