From: Jeff Trawick Date: Thu, 19 Jul 2001 12:43:22 +0000 (+0000) Subject: fix the type of parms to apr_send() and apr_recv() X-Git-Tag: 2.0.21~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=791dbc3a81bcbbaea7332fd9e860c7590d882c35;p=apache fix the type of parms to apr_send() and apr_recv() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89615 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/ab.c b/support/ab.c index 52743ab4a0..6782bb5232 100644 --- a/support/ab.c +++ b/support/ab.c @@ -364,7 +364,7 @@ static void write_request(struct connection * c) { do { apr_time_t tnow = apr_time_now(); - int l = c->rwrite; + apr_size_t l = c->rwrite; apr_status_t e; /* @@ -930,7 +930,7 @@ static void close_connection(struct connection * c) static void read_connection(struct connection * c) { - int r; + apr_size_t r; apr_status_t status; char *part; char respcode[4]; /* 3 digits and null */ @@ -1298,14 +1298,14 @@ static void test(void) static void copyright(void) { if (!use_html) { - printf("This is ApacheBench, Version %s\n", AB_VERSION " <$Revision: 1.77 $> apache-2.0"); + printf("This is ApacheBench, Version %s\n", AB_VERSION " <$Revision: 1.78 $> apache-2.0"); printf("Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\n"); printf("Copyright (c) 1998-2001 The Apache Software Foundation, http://www.apache.org/\n"); printf("\n"); } else { printf("

\n"); - printf(" This is ApacheBench, Version %s <%s> apache-2.0
\n", AB_VERSION, "$Revision: 1.77 $"); + printf(" This is ApacheBench, Version %s <%s> apache-2.0
\n", AB_VERSION, "$Revision: 1.78 $"); printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
\n"); printf(" Copyright (c) 1998-2001 The Apache Software Foundation, http://www.apache.org/
\n"); printf("

\n

\n");