summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2002-07-08 21:39:01 +0200
committerWilliam A. Rowe Jr <wrowe@apache.org>2002-07-08 21:39:01 +0200
commit703fabaaa3b4ff3a4f9ccdfea8f5270e918bbcb3 (patch)
treea0a52e02f766985f45d61708c65d9999f7c00ff5 /support
parent Fix alpha order so the .dsp list isn't rearranged on save. (diff)
downloadapache2-703fabaaa3b4ff3a4f9ccdfea8f5270e918bbcb3.tar.xz
apache2-703fabaaa3b4ff3a4f9ccdfea8f5270e918bbcb3.zip
If you want floating math, use float literals.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95980 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support')
-rw-r--r--support/ab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/support/ab.c b/support/ab.c
index 743c54b88d..9d603cef19 100644
--- a/support/ab.c
+++ b/support/ab.c
@@ -828,7 +828,7 @@ static void output_results(void)
endtime = apr_time_now();
timetakenusec = endtime - start;
timetaken = ((float)apr_time_sec(timetakenusec)) +
- ((float)apr_time_usec(timetakenusec)) / 1000000.0;
+ ((float)apr_time_usec(timetakenusec)) / 1000000.0F;
printf("\n\n");
printf("Server Software: %s\n", servername);
@@ -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.107 $> apache-2.0");
+ printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.108 $> 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.107 $");
+ printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-2.0<br>\n", AP_AB_BASEREVISION, "$Revision: 1.108 $");
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");