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/unix sockets.c
Date Tue, 10 Jul 2001 17:19:03 GMT
trawick     01/07/10 10:19:02

  Modified:    network_io/unix sockets.c
  Log:
  get rid of some unnecessary checking of apr_socket_t in apr_connect()
  
  if the fd is bad, the kernel is sure to let us know
  we no longer care about remote addr field at this point
  
  Revision  Changes    Path
  1.76      +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.75
  retrieving revision 1.76
  diff -u -r1.75 -r1.76
  --- sockets.c	2001/07/10 15:01:38	1.75
  +++ sockets.c	2001/07/10 17:18:55	1.76
  @@ -259,10 +259,6 @@
   {
       int rc;
   
  -    if ((sock->socketdes < 0) || (!sock->remote_addr)) {
  -        return APR_ENOTSOCK;
  -    }
  -
       do {
           rc = connect(sock->socketdes,
                        (const struct sockaddr *)&sa->sa.sin,
  
  
  

Mime
View raw message