apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/network_io/win32 sockets.c
Date Tue, 30 Jul 2002 13:56:17 GMT
trawick     2002/07/30 06:56:17

  Modified:    network_io/os2 sockets.c
               network_io/unix sockets.c
               network_io/win32 sockets.c
  Log:
  axe some checks for out-of-storage which are not helpful;
  we'd already have segfaulted at this point and we don't normally
  perform such checks anyway
  
  Revision  Changes    Path
  1.56      +0 -7      apr/network_io/os2/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/os2/sockets.c,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- sockets.c	8 Jun 2002 22:32:11 -0000	1.55
  +++ sockets.c	30 Jul 2002 13:56:14 -0000	1.56
  @@ -118,13 +118,6 @@
   
       alloc_socket(new, cont);
   
  -    if ((*new) == NULL) {
  -        return APR_ENOMEM;
  -    }
  -    if ((*new)->local_addr == NULL || (*new)->remote_addr == NULL) {
  -        return APR_ENOMEM;
  -    }
  - 
       (*new)->socketdes = socket(family, type, 0);
   #if APR_HAVE_IPV6
       if ((*new)->socketdes < 0 && downgrade) {
  
  
  
  1.101     +0 -4      apr/network_io/unix/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/unix/sockets.c,v
  retrieving revision 1.100
  retrieving revision 1.101
  diff -u -r1.100 -r1.101
  --- sockets.c	11 Jul 2002 17:08:23 -0000	1.100
  +++ sockets.c	30 Jul 2002 13:56:14 -0000	1.101
  @@ -118,10 +118,6 @@
   
       alloc_socket(new, cont);
   
  -    if ((*new)->local_addr == NULL || (*new)->remote_addr == NULL) {
  -        return APR_ENOMEM;
  -    }
  -
       (*new)->socketdes = socket(family, type, 0);
   
   #if APR_HAVE_IPV6
  
  
  
  1.85      +0 -7      apr/network_io/win32/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/win32/sockets.c,v
  retrieving revision 1.84
  retrieving revision 1.85
  diff -u -r1.84 -r1.85
  --- sockets.c	29 Jul 2002 05:00:33 -0000	1.84
  +++ sockets.c	30 Jul 2002 13:56:17 -0000	1.85
  @@ -109,13 +109,6 @@
   
       alloc_socket(new, cont);
   
  -    if ((*new) == NULL) {
  -        return APR_ENOMEM;
  -    }
  -    if (((*new)->local_addr == NULL) || ((*new)->remote_addr == NULL)) {
  -        return APR_ENOMEM;
  -    }
  -
       /* For right now, we are not using socket groups.  We may later.
        * No flags to use when creating a socket, so use 0 for that parameter as well.
        */
  
  
  

Mime
View raw message