apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/network_io/unix sa_common.c
Date Tue, 15 Oct 2002 12:27:38 GMT
wrowe       2002/10/15 05:27:38

  Modified:    network_io/unix sa_common.c
  Log:
    Didn't intend to commit this.  Was attempting to commit comments on
    another file.  Bahhh ... more sleep would be good.
  
  Revision  Changes    Path
  1.68      +1 -15     apr/network_io/unix/sa_common.c
  
  Index: sa_common.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/unix/sa_common.c,v
  retrieving revision 1.67
  retrieving revision 1.68
  diff -u -r1.67 -r1.68
  --- sa_common.c	15 Oct 2002 11:19:00 -0000	1.67
  +++ sa_common.c	15 Oct 2002 12:27:38 -0000	1.68
  @@ -474,21 +474,7 @@
   #ifdef WIN32
               return apr_get_netos_error();
   #else
  -            switch (h_errno) {
  -#ifdef NETDB_INTERNAL
  -                case NETDB_INTERNAL:
  -                    return APR_FROM_OS_ERROR(errno);
  -#endif
  -                case HOST_NOT_FOUND:
  -                    return APR_EHOSTUNREACH;
  -                case NO_DATA:
  -                    return 11111 /* APR_E */;
  -                case NO_RECOVERY:
  -                    return APR_EHOSTUNREACH;
  -                case TRY_AGAIN:
  -                    return APR_EAGAIN;
  -            }
  -            /* return (h_errno + APR_OS_START_SYSERR); */
  +            return (h_errno + APR_OS_START_SYSERR);
   #endif
           }
       }
  
  
  

Mime
View raw message