summaryrefslogtreecommitdiff
path: root/test/testargs.c
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>1999-10-04 16:37:48 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>1999-10-04 16:37:48 +0000
commit636a5b651386b67ebf0319d23ffb6a644733c3a6 (patch)
treecc3bddffac57af165a495dc1e60091d9635ba19e /test/testargs.c
parent8b551a56788f93740c5afc5b52ef7ef4bdc28c43 (diff)
downloadlibapr-636a5b651386b67ebf0319d23ffb6a644733c3a6.tar.gz
First patch to re-order function parameters. This one gets the low hanging
fruit, and moves most of the result parameters to the first argument. Future patches in this series will move the rest of the result parameters to the beginning of the list, and will move the context's to the end of the list git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59259 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testargs.c')
-rw-r--r--test/testargs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testargs.c b/test/testargs.c
index 1282885ff..a5ecaf5c6 100644
--- a/test/testargs.c
+++ b/test/testargs.c
@@ -69,7 +69,7 @@ int main(int argc, char * const argv[])
ap_context_t *context;
ap_int32_t data;
- ap_create_context(NULL, &context);
+ ap_create_context(&context, NULL);
while (ap_getopt(context, argc, argv, "abc:d::", &data) == APR_SUCCESS) {
switch(data) {