diff options
author | Jeff Trawick <trawick@apache.org> | 2002-10-16 12:39:21 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2002-10-16 12:39:21 +0000 |
commit | 4de39c7a9c866f7aee1d4fa295b79a161e3b7a5b (patch) | |
tree | b2c71b9d7d299e85fccd57a418e6912dc739caac /support/ab.c | |
parent | 79ba9647299b953c47045c4ba7153338ed9d63fb (diff) | |
download | httpd-4de39c7a9c866f7aee1d4fa295b79a161e3b7a5b.tar.gz |
%qd is not portable; use APR_INT64_FMT_T for apr_time_t
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97237 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/ab.c')
-rw-r--r-- | support/ab.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/support/ab.c b/support/ab.c index 2551eb4e7c..433c1839e1 100644 --- a/support/ab.c +++ b/support/ab.c @@ -1121,7 +1121,7 @@ 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.%03ld seconds</td></tr>\n", + "<td colspan=2 %s>%" APR_INT64_T_FMT ".%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>" @@ -1771,14 +1771,14 @@ static void test(void) static void copyright(void) { if (!use_html) { - printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.120 $> apache-2.0"); + printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.121 $> 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.120 $"); + printf(" This is ApacheBench, Version %s <i><%s></i> apache-2.0<br>\n", AP_AB_BASEREVISION, "$Revision: 1.121 $"); 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"); |