apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: apr/network_io/os2 sockets.c
Date Sun, 14 Apr 2002 08:33:52 GMT
bjh         02/04/14 01:33:52

  Modified:    network_io/os2 sockets.c
  Log:
  OS/2: Fix apr_os_put_sock() to set local address as unknown & timeout to -1.
  
  Revision  Changes    Path
  1.54      +3 -0      apr/network_io/os2/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/os2/sockets.c,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- sockets.c	14 Apr 2002 08:04:17 -0000	1.53
  +++ sockets.c	14 Apr 2002 08:33:52 -0000	1.54
  @@ -288,7 +288,10 @@
       if ((*sock) == NULL) {
           alloc_socket(sock, cont);
           set_socket_vars(*sock, AF_INET, SOCK_STREAM);
  +        (*sock)->timeout = -1;
       }
  +
  +    (*sock)->local_port_unknown = (*sock)->local_interface_unknown = 1;
       (*sock)->socketdes = *thesock;
       return APR_SUCCESS;
   }
  
  
  

Mime
View raw message