From: Jean-Jacques Clar Date: Wed, 17 Mar 2004 00:06:44 +0000 (+0000) Subject: using build in err function, thanks Jeff for pointing that. X-Git-Tag: pre_ajp_proxy~509 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a6aee15e5999ff5ab22a4012f7d7b8b40615d589;p=apache using build in err function, thanks Jeff for pointing that. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103000 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/ab.c b/support/ab.c index 0e7f808b56..d30e1aca74 100644 --- a/support/ab.c +++ b/support/ab.c @@ -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("

\n"); - printf(" This is ApacheBench, Version %s <%s> apache-2.0
\n", AP_AB_BASEREVISION, "$Revision: 1.138 $"); + printf(" This is ApacheBench, Version %s <%s> apache-2.0
\n", AP_AB_BASEREVISION, "$Revision: 1.139 $"); 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

\n");