summaryrefslogtreecommitdiff
path: root/test/testproc.c
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-11-29 00:25:23 +0000
committerRyan Bloom <rbb@apache.org>2000-11-29 00:25:23 +0000
commitfae97a68f71801ce06f67db5a57a688e414a74b8 (patch)
tree12850e9aa9e31d72e37c9871860868bff2b79b3d /test/testproc.c
parent5107acc31f9e0181238b97b9aa69d30e05beaba0 (diff)
downloadapr-fae97a68f71801ce06f67db5a57a688e414a74b8.tar.gz
Get the test programs all building cleanly again.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60808 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testproc.c')
-rw-r--r--test/testproc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/testproc.c b/test/testproc.c
index 793cb73aa..ecb9fdef4 100644
--- a/test/testproc.c
+++ b/test/testproc.c
@@ -77,7 +77,7 @@ int main(int argc, char *argv[])
apr_file_t *testfile = NULL;
apr_ssize_t length;
char *buf;
- char *args[3];
+ const char *args[3];
char *teststr;
if (apr_initialize() != APR_SUCCESS) {
@@ -132,8 +132,8 @@ int main(int argc, char *argv[])
}
fprintf(stdout, "OK.\n");
- args[0] = apr_pstrdup(context, "testproc");
- args[1] = apr_pstrdup(context, "-X");
+ args[0] = "testproc";
+ args[1] = "-X";
args[2] = NULL;
fprintf(stdout, "Creating a new process.......");