Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 36979 invoked by uid 500); 15 Oct 2002 12:27:39 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 36967 invoked from network); 15 Oct 2002 12:27:39 -0000 Date: 15 Oct 2002 12:27:38 -0000 Message-ID: <20021015122738.9288.qmail@icarus.apache.org> From: wrowe@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/network_io/unix sa_common.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 } }