From: Jeff Trawick Date: Sun, 19 Sep 2010 20:47:38 +0000 (+0000) Subject: fix one error message, eliminate another that will never X-Git-Tag: 2.3.9~477 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a20a0acb17248304fcfc542d8ebf6d54b1d4d05e;p=apache fix one error message, eliminate another that will never be issued (since !n occurs when status != APR_SUCCESS) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@998726 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/ab.c b/support/ab.c index c78a66df23..69f8312aa0 100644 --- a/support/ab.c +++ b/support/ab.c @@ -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]);