httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r998726 - /httpd/httpd/trunk/support/ab.c
Date Sun, 19 Sep 2010 20:47:39 GMT
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]);



Mime
View raw message