diff options
author | Jeff Trawick <trawick@apache.org> | 2000-09-14 20:42:58 +0200 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2000-09-14 20:42:58 +0200 |
commit | cc23cc086617dc5636899ee0a8b2b7f9ca8d2b1c (patch) | |
tree | 9187a2c6d085f182b8c81bbeba3fd74086b0baff /support/ab.c | |
parent | In find_string(), handle eos and end-of-pipe conditions. (diff) | |
download | apache2-cc23cc086617dc5636899ee0a8b2b7f9ca8d2b1c.tar.xz apache2-cc23cc086617dc5636899ee0a8b2b7f9ca8d2b1c.zip |
Fix the types of the variables passed as the len parm to bucket->read()
(in various places).
In ab, change the declaration of argv so that it can be passed into
apr_initopt() without warning.
Submitted by: Victor J. Orlikowski <v.j.orlikowski@gte.net>
Reviewed and modified slightly by: Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86229 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 7f16db6bd6..688c456866 100644 --- a/support/ab.c +++ b/support/ab.c @@ -862,14 +862,14 @@ static void test(void) static void copyright(void) { if (!use_html) { - printf("This is ApacheBench, Version %s\n", AB_VERSION " <$Revision: 1.26 $> apache-2.0"); + printf("This is ApacheBench, Version %s\n", AB_VERSION " <$Revision: 1.27 $> 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><%s></i> apache-2.0<br>\n", AB_VERSION, "$Revision: 1.26 $"); + printf(" This is ApacheBench, Version %s <i><%s></i> apache-2.0<br>\n", AB_VERSION, "$Revision: 1.27 $"); 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"); @@ -968,7 +968,7 @@ static int open_postfile(const char *pfile) /* ------------------------------------------------------- */ /* sort out command-line args and call test */ -int main(int argc, char **argv) +int main(int argc, char *const *argv) { int r, l; char tmp[1024]; |