diff options
author | Greg Stein <gstein@apache.org> | 2001-09-20 09:03:25 +0000 |
---|---|---|
committer | Greg Stein <gstein@apache.org> | 2001-09-20 09:03:25 +0000 |
commit | 4a029ca9df229c7d87539ff0f357ab241242ceaf (patch) | |
tree | 2c7022f9002222fb86acdbfafa43d4e6505a7109 /test/testproc.c | |
parent | f49bd22bf61423ef1ef91f883f10fbe4366a48d0 (diff) | |
download | apr-4a029ca9df229c7d87539ff0f357ab241242ceaf.tar.gz |
Add an extra parameter to all apr_proc_wait() calls for the new "exitcode"
parameter. Pass NULL because we aren't interested in the value.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62351 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testproc.c')
-rw-r--r-- | test/testproc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/testproc.c b/test/testproc.c index 67abe5009..780ea0a09 100644 --- a/test/testproc.c +++ b/test/testproc.c @@ -141,7 +141,8 @@ int main(int argc, char *argv[]) } else printf( "Read failed.\n"); - TEST_NEQ("Waiting for child to die", apr_proc_wait(&newproc, APR_WAIT), + TEST_NEQ("Waiting for child to die", + apr_proc_wait(&newproc, NULL, APR_WAIT), APR_CHILD_DONE, "OK", "Failed") STD_TEST_NEQ("Removing directory", apr_dir_remove("proctest", pool)) |