diff options
author | Ryan Bloom <rbb@apache.org> | 2000-03-15 15:12:00 +0000 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2000-03-15 15:12:00 +0000 |
commit | a0049e01d9fd6d820c11bae917f53dbdead0b183 (patch) | |
tree | 09e71f9a0d27e055b041cded7597d32514c8458b /test/testargs.c | |
parent | 4d8593065174479cb0b18358c36bed5451b5a4a4 (diff) | |
download | apr-a0049e01d9fd6d820c11bae917f53dbdead0b183.tar.gz |
Update the test programs so they work with ap_getopt again.
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59709 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testargs.c')
-rw-r--r-- | test/testargs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testargs.c b/test/testargs.c index 2cdead072..17c35a504 100644 --- a/test/testargs.c +++ b/test/testargs.c @@ -70,7 +70,7 @@ int main(int argc, char * const argv[]) ap_create_context(&context, NULL); - while (ap_getopt(context, argc, argv, "abc:d::", &data) == APR_SUCCESS) { + while (ap_getopt(argc, argv, "abc:d::", &data, context) == APR_SUCCESS) { switch(data) { case 'a': case 'b': |