summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2000-05-28 01:49:07 +0200
committerWilliam A. Rowe Jr <wrowe@apache.org>2000-05-28 01:49:07 +0200
commitd82e6e26e3b4e0fba08830a29f4f960cd56912d6 (patch)
treeb8e395dfdb4dc4bbfe39415dc917bf87bee101ca /support
parentPR: (diff)
downloadapache2-d82e6e26e3b4e0fba08830a29f4f960cd56912d6.tar.xz
apache2-d82e6e26e3b4e0fba08830a29f4f960cd56912d6.zip
PR:
Obtained from: Submitted by: Reviewed by: One reason ap_config.h can be a problem. Change VERSION->AB_VERSION to avoid ap_config.h #undef. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85320 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support')
-rw-r--r--support/ab.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/support/ab.c b/support/ab.c
index 6534698d5f..9c8c484bf8 100644
--- a/support/ab.c
+++ b/support/ab.c
@@ -98,7 +98,7 @@
* only an issue for loopback usage
*/
-#define VERSION "1.3c"
+#define AB_VERSION "1.3c"
/* -------------------------------------------------------------------- */
@@ -740,7 +740,7 @@ static void test(void)
"%s" "\r\n",
(posting == 0) ? "GET" : "HEAD",
path,
- VERSION,
+ AB_VERSION,
keepalive ? "Connection: Keep-Alive\r\n" : "",
cookie, auth, hostname, hdrs);
}
@@ -755,7 +755,7 @@ static void test(void)
"%s"
"\r\n",
path,
- VERSION,
+ AB_VERSION,
keepalive ? "Connection: Keep-Alive\r\n" : "",
cookie, auth,
hostname, postlen,
@@ -840,14 +840,14 @@ static void test(void)
static void copyright(void)
{
if (!use_html) {
- printf("This is ApacheBench, Version %s\n", VERSION " <$Revision: 1.16 $> apache-2.0");
+ printf("This is ApacheBench, Version %s\n", AB_VERSION " <$Revision: 1.17 $> 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", VERSION, "$Revision: 1.16 $");
+ printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-2.0<br>\n", AB_VERSION, "$Revision: 1.17 $");
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");