diff options
author | Ryan Bloom <rbb@apache.org> | 2000-04-14 17:59:20 +0200 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2000-04-14 17:59:20 +0200 |
commit | de3a77dc016d09f7a065448efa3c745b73cf9c42 (patch) | |
tree | 67f5e3fba093eb416fe4bbca701cd6187d3364cc /modules/mappers/mod_speling.c | |
parent | Fix minor configuration & platform dependencies (diff) | |
download | apache2-de3a77dc016d09f7a065448efa3c745b73cf9c42.tar.xz apache2-de3a77dc016d09f7a065448efa3c745b73cf9c42.zip |
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/httpd/httpd/trunk@84963 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/mappers/mod_speling.c')
-rw-r--r-- | modules/mappers/mod_speling.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/mappers/mod_speling.c b/modules/mappers/mod_speling.c index c0a5de2c7b..03b6e675e6 100644 --- a/modules/mappers/mod_speling.c +++ b/modules/mappers/mod_speling.c @@ -102,7 +102,7 @@ typedef struct { * bother to have such a function. */ -static void *mkconfig(ap_context_t *p) +static void *mkconfig(ap_pool_t *p) { spconfig *cfg = ap_pcalloc(p, sizeof(spconfig)); @@ -114,7 +114,7 @@ static void *mkconfig(ap_context_t *p) * Respond to a callback to create configuration record for a server or * vhost environment. */ -static void *create_mconfig_for_server(ap_context_t *p, server_rec *s) +static void *create_mconfig_for_server(ap_pool_t *p, server_rec *s) { return mkconfig(p); } @@ -122,7 +122,7 @@ static void *create_mconfig_for_server(ap_context_t *p, server_rec *s) /* * Respond to a callback to create a config record for a specific directory. */ -static void *create_mconfig_for_directory(ap_context_t *p, char *dir) +static void *create_mconfig_for_directory(ap_pool_t *p, char *dir) { return mkconfig(p); } @@ -441,9 +441,9 @@ static int check_speling(request_rec *r) * returned. */ else { - ap_context_t *p; + ap_pool_t *p; ap_table_t *notes; - ap_context_t *sub_pool; + ap_pool_t *sub_pool; ap_array_header_t *t; ap_array_header_t *v; @@ -457,7 +457,7 @@ static int check_speling(request_rec *r) notes = r->main->notes; } - if (ap_create_context(&sub_pool, p) != APR_SUCCESS) + if (ap_create_pool(&sub_pool, p) != APR_SUCCESS) return DECLINED; t = ap_make_array(sub_pool, candidates->nelts * 8 + 8, |