diff options
author | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2000-03-15 15:12:00 +0000 |
---|---|---|
committer | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2000-03-15 15:12:00 +0000 |
commit | adfa13cb9d5ab097b7546627fa4e0684870e72c0 (patch) | |
tree | 09e71f9a0d27e055b041cded7597d32514c8458b /test/testargs.c | |
parent | 9489543ff637ee1fabe78872eec3d3d7c9f7d3e9 (diff) | |
download | libapr-adfa13cb9d5ab097b7546627fa4e0684870e72c0.tar.gz |
Update the test programs so they work with ap_getopt again.
Reviewed by:
git-svn-id: http://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': |