diff options
author | Ryan Bloom <rbb@apache.org> | 2000-04-14 15:58:54 +0000 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2000-04-14 15:58:54 +0000 |
commit | f6be29db115b28bf436f84e67e1ba49e92ab9538 (patch) | |
tree | c07dfce5f37b9ffae3b9b7b8b0b435fb98cdc74b /test/testoc.c | |
parent | 9baccbbbd719982aee0888ca35a3f7b98cc3792a (diff) | |
download | apr-f6be29db115b28bf436f84e67e1ba49e92ab9538.tar.gz |
Change ap_context_t to ap_pool_t. This compiles, runs, and serves pages
on Linux, but probably breaks somewhere.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59856 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testoc.c')
-rw-r--r-- | test/testoc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/testoc.c b/test/testoc.c index ad15eb5e0..60b32bbf7 100644 --- a/test/testoc.c +++ b/test/testoc.c @@ -85,7 +85,10 @@ void ocmaint(int reason, void *data) int main(int argc, char *argv[]) { - ap_context_t *context; + ap_pool_t *context; + ap_pool_t *cont2; + ap_status_t status = 0; + ap_ssize_t nbytes = 0; ap_proc_t *newproc = NULL; ap_procattr_t *procattr = NULL; char *args[3]; @@ -99,7 +102,7 @@ int main(int argc, char *argv[]) exit(-1); } atexit(ap_terminate); - if (ap_create_context(&context, NULL) != APR_SUCCESS) { + if (ap_create_pool(&context, NULL) != APR_SUCCESS) { fprintf(stderr, "Couldn't allocate context."); exit(-1); } |