diff options
author | Brian Pane <brianp@apache.org> | 2002-07-07 06:37:21 +0000 |
---|---|---|
committer | Brian Pane <brianp@apache.org> | 2002-07-07 06:37:21 +0000 |
commit | 69ad393a9de133d0c8781ba8ad5864d75b497138 (patch) | |
tree | 11597a6c09e28ab2ead5921acebe3b5aa23e534d /support | |
parent | 6deba78a9aa4be6b121f385c1a9b3937e87909d2 (diff) | |
download | httpd-69ad393a9de133d0c8781ba8ad5864d75b497138.tar.gz |
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.c | 10 |
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><%s></i> apache-2.0<br>\n", AP_AB_BASEREVISION, "$Revision: 1.106 $"); + printf(" This is ApacheBench, Version %s <i><%s></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"); |