You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2010/09/19 22:47:39 UTC
svn commit: r998726 - /httpd/httpd/trunk/support/ab.c
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]);