summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorBrian Pane <brianp@apache.org>2002-07-07 08:37:21 +0200
committerBrian Pane <brianp@apache.org>2002-07-07 08:37:21 +0200
commit69ad393a9de133d0c8781ba8ad5864d75b497138 (patch)
tree11597a6c09e28ab2ead5921acebe3b5aa23e534d /support
parentRenames Pending: (diff)
downloadapache2-69ad393a9de133d0c8781ba8ad5864d75b497138.tar.xz
apache2-69ad393a9de133d0c8781ba8ad5864d75b497138.zip
fix for compilers that don't support long long datatype
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95967 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 c0bbef2df3..743c54b88d 100644
--- a/support/ab.c
+++ b/support/ab.c
@@ -1100,9 +1100,9 @@ static void output_html_results(void)
"<td colspan=2 %s>%d</td></tr>\n",
trstring, tdstring, tdstring, concurrency);
printf("<tr %s><th colspan=2 %s>Time taken for tests:</th>"
- "<td colspan=2 %s>%qd.%03qd seconds</td></tr>\n",
- trstring, tdstring, tdstring, (long long)apr_time_sec(timetaken),
- (long long)apr_time_usec(timetaken));
+ "<td colspan=2 %s>%qd.%03ld seconds</td></tr>\n",
+ trstring, tdstring, tdstring, apr_time_sec(timetaken),
+ (long)apr_time_usec(timetaken));
printf("<tr %s><th colspan=2 %s>Complete requests:</th>"
"<td colspan=2 %s>%ld</td></tr>\n",
trstring, tdstring, tdstring, done);
@@ -1725,14 +1725,14 @@ static void test(void)
static void copyright(void)
{
if (!use_html) {
- printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.106 $> apache-2.0");
+ printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.107 $> 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.106 $");
+ printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-2.0<br>\n", AP_AB_BASEREVISION, "$Revision: 1.107 $");
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");