summaryrefslogtreecommitdiffstats
path: root/support/ab.c
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2000-12-01 22:51:51 +0100
committerJeff Trawick <trawick@apache.org>2000-12-01 22:51:51 +0100
commitf6dc4c993e98404db2014e1010c486e42529bf59 (patch)
tree1753e74e320fbe46fad28921ff08a8b77d027370 /support/ab.c
parentinclude <strings.h> for the strcasecmp() and strncasecmp() prototypes; (diff)
downloadapache2-f6dc4c993e98404db2014e1010c486e42529bf59.tar.xz
apache2-f6dc4c993e98404db2014e1010c486e42529bf59.zip
use APR_SIZE_T_FMT to avoid a warning on AIX
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87150 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--support/ab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/support/ab.c b/support/ab.c
index 71f4c5962a..b0d3d0a51d 100644
--- a/support/ab.c
+++ b/support/ab.c
@@ -791,7 +791,7 @@ static void test(void)
"%s" "%s" "%s"
"Host: %s\r\n"
"Accept: */*\r\n"
- "Content-length: %d\r\n"
+ "Content-length: %" APR_SIZE_T_FMT "\r\n"
"Content-type: %s\r\n"
"%s"
"\r\n",
@@ -893,14 +893,14 @@ static void test(void)
static void copyright(void)
{
if (!use_html) {
- printf("This is ApacheBench, Version %s\n", AB_VERSION " <$Revision: 1.39 $> apache-2.0");
+ printf("This is ApacheBench, Version %s\n", AB_VERSION " <$Revision: 1.40 $> apache-2.0");
printf("Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\n");
printf("Copyright (c) 1998-2000 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", AB_VERSION, "$Revision: 1.39 $");
+ printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-2.0<br>\n", AB_VERSION, "$Revision: 1.40 $");
printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br>\n");
printf(" Copyright (c) 1998-2000 The Apache Software Foundation, http://www.apache.org/<br>\n");
printf("</p>\n<p>\n");