You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-cvs@httpd.apache.org by wr...@apache.org on 2002/05/31 10:01:30 UTC
cvs commit: httpd-test/flood flood_test.c
wrowe 2002/05/31 01:01:30
Modified: flood flood_test.c
Log:
changes for the apr_uri changes
Revision Changes Path
1.4 +3 -3 httpd-test/flood/flood_test.c
Index: flood_test.c
===================================================================
RCS file: /home/cvs/httpd-test/flood/flood_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- flood_test.c 31 May 2002 07:59:27 -0000 1.3
+++ flood_test.c 31 May 2002 08:01:30 -0000 1.4
@@ -218,12 +218,12 @@
r.uri = "http://www.apachelabs.org/";
r.method = GET;
- r.parsed_uri = apr_pcalloc(local_pool, sizeof(uri_components));
+ r.parsed_uri = apr_pcalloc(local_pool, sizeof(*r.parsed_uri));
/* FIXME: This is the private copy. */
- ap_parse_uri_components(local_pool, r.uri, r.parsed_uri);
+ apr_uri_parse(local_pool, r.uri, r.parsed_uri);
if (!r.parsed_uri->port)
- r.parsed_uri->port = DEFAULT_HTTP_PORT;
+ r.parsed_uri->port = 80;
apr_file_printf(local_stdout, "%s\n", r.parsed_uri->hostname);