]> granicus.if.org Git - apache/commitdiff
using build in err function, thanks Jeff for pointing that.
authorJean-Jacques Clar <clar@apache.org>
Wed, 17 Mar 2004 00:06:44 +0000 (00:06 +0000)
committerJean-Jacques Clar <clar@apache.org>
Wed, 17 Mar 2004 00:06:44 +0000 (00:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103000 13f79535-47bb-0310-9956-ffa450edef68

support/ab.c

index 0e7f808b5637e2a2b925994a71b8f5446afaef2a..d30e1aca74b1dbd1faf4cb7c222ba592bb776fdf 100644 (file)
@@ -1561,8 +1561,7 @@ static void test(void)
     stats = calloc(requests * sizeof(struct data), 1);
 
     if ((status = apr_pollset_create(&readbits, concurrency, cntxt, 0)) != APR_SUCCESS) {
-        fprintf(stderr, "\napr_pollset_create failed: %d\n", status);
-        exit(status);
+        apr_err("apr_pollset_create failed", status);
     }
 
     /* setup request */
@@ -1786,14 +1785,14 @@ static void test(void)
 static void copyright(void)
 {
     if (!use_html) {
-       printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.138 $> apache-2.0");
+       printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.139 $> apache-2.0");
        printf("Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\n");
        printf("Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/\n");
        printf("\n");
     }
     else {
        printf("<p>\n");
-       printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-2.0<br>\n", AP_AB_BASEREVISION, "$Revision: 1.138 $");
+       printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-2.0<br>\n", AP_AB_BASEREVISION, "$Revision: 1.139 $");
        printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br>\n");
        printf(" Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/<br>\n");
        printf("</p>\n<p>\n");