Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 68587 invoked from network); 19 Sep 2010 20:48:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Sep 2010 20:48:00 -0000 Received: (qmail 50463 invoked by uid 500); 19 Sep 2010 20:48:00 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 50412 invoked by uid 500); 19 Sep 2010 20:48:00 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 50405 invoked by uid 99); 19 Sep 2010 20:47:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Sep 2010 20:47:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Sep 2010 20:47:59 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4A68823889EA; Sun, 19 Sep 2010 20:47:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r998726 - /httpd/httpd/trunk/support/ab.c Date: Sun, 19 Sep 2010 20:47:39 -0000 To: cvs@httpd.apache.org From: trawick@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100919204739.4A68823889EA@eris.apache.org> Author: trawick Date: Sun Sep 19 20:47:38 2010 New Revision: 998726 URL: http://svn.apache.org/viewvc?rev=998726&view=rev Log: fix one error message, eliminate another that will never be issued (since !n occurs when status != APR_SUCCESS) Modified: httpd/httpd/trunk/support/ab.c Modified: httpd/httpd/trunk/support/ab.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/ab.c?rev=998726&r1=998725&r2=998726&view=diff ============================================================================== --- httpd/httpd/trunk/support/ab.c (original) +++ httpd/httpd/trunk/support/ab.c Sun Sep 19 20:47:38 2010 @@ -1735,11 +1735,7 @@ static void test(void) status = apr_pollset_poll(readbits, aprtimeout, &n, &pollresults); } while (APR_STATUS_IS_EINTR(status)); if (status != APR_SUCCESS) - apr_err("apr_poll", status); - - if (!n) { - err("\nServer timed out\n\n"); - } + apr_err("apr_pollset_poll", status); for (i = 0; i < n; i++) { const apr_pollfd_t *next_fd = &(pollresults[i]);