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 Mon, 24 Apr 2000 14:07:32 GMT
bjh         00/04/24 07:07:32

  Modified:    src/lib/apr/network_io/os2 sockets.c
  Log:
  OS/2: Fix some uninitialized fields in accepted sockets
  
  Revision  Changes    Path
  1.19      +2 -0      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.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- sockets.c	2000/04/19 21:17:37	1.18
  +++ sockets.c	2000/04/24 14:07:31	1.19
  @@ -157,6 +157,8 @@
                             sizeof(struct sockaddr_in));
       (*new)->local_addr = sock->local_addr;
       (*new)->addr_len = sizeof(struct sockaddr_in);
  +    (*new)->timeout = -1;
  +    (*new)->nonblock = FALSE;
   
       (*new)->socketdes = accept(sock->socketdes, (struct sockaddr *)(*new)->remote_addr,
                           &(*new)->addr_len);
  
  
  

Mime
View raw message