diff options
author | Ryan Bloom <rbb@apache.org> | 2000-04-03 19:31:43 +0000 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2000-04-03 19:31:43 +0000 |
commit | a08ee8993ce6f0b93cac8e2b64eb6b9ee10537e8 (patch) | |
tree | b58660414cf142e313db80620dd34d391b3453e1 /test/testpipe.c | |
parent | 02831ac73f69db5c51abdc922c445d2e3bd2035c (diff) | |
download | apr-a08ee8993ce6f0b93cac8e2b64eb6b9ee10537e8.tar.gz |
Fix some of the APR test programs.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59771 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testpipe.c')
-rw-r--r-- | test/testpipe.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/testpipe.c b/test/testpipe.c index 254b65d5d..29a0ce2c7 100644 --- a/test/testpipe.c +++ b/test/testpipe.c @@ -73,6 +73,11 @@ int main() ap_size_t nbytes; char *buf; + if (ap_initialize() != APR_SUCCESS) { + fprintf(stderr, "Couldn't initialize."); + exit(-1); + } + atexit(ap_terminate); if (ap_create_context(&context, NULL) != APR_SUCCESS) { fprintf(stderr, "Couldn't allocate context."); exit(-1); |