summaryrefslogtreecommitdiff
path: root/test/testargs.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testargs.c')
-rw-r--r--test/testargs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/testargs.c b/test/testargs.c
index 448bf5cb8..9ab990679 100644
--- a/test/testargs.c
+++ b/test/testargs.c
@@ -79,12 +79,12 @@ int main(int argc, char * const argv[])
printf("option %c\n", data);
break;
case 'c':
- printf("option %c with %s\n", data, ap_optarg);
+ printf("option %c with %s\n", data, apr_optarg);
break;
case 'd':
printf("option %c", data);
- if (ap_optarg) {
- printf(" with %s\n", ap_optarg);
+ if (apr_optarg) {
+ printf(" with %s\n", apr_optarg);
}
else {
printf("\n");