httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/network_io/os2 sockets.c
Date Fri, 17 Nov 2000 02:52:34 GMT
bjh         00/11/16 18:52:34

  Modified:    src/lib/apr/network_io/os2 sockets.c
  Log:
  OS/2: fix some minor breakage after latest changes to addresses.
  
  Revision  Changes    Path
  1.31      +2 -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.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- sockets.c	2000/11/16 18:43:18	1.30
  +++ sockets.c	2000/11/17 02:52:34	1.31
  @@ -128,6 +128,7 @@
   {
       int family = ofamily;
   
  +    if (family == AF_UNSPEC) {
   #if APR_HAVE_IPV6
           family = AF_INET6;
   #else
  @@ -191,7 +192,7 @@
   apr_status_t apr_bind(apr_socket_t *sock)
   {
       if (bind(sock->socketdes, 
  -             (struct sockaddr *)sock->local_addr->sa, 
  +             (struct sockaddr *)&sock->local_addr->sa,
                sock->local_addr->sa_len) == -1)
           return APR_OS2_STATUS(sock_errno());
       else
  
  
  

Mime
View raw message