diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2001-01-17 15:52:12 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2001-01-17 15:52:12 +0000 |
commit | 40655f864108cca870e4442f99969c24097b4c9e (patch) | |
tree | c2cbeb5c5aa3e84c893f197ced1d958b376bbd89 /modules/generators/mod_cgid.c | |
parent | c560382b19e28ce68601019b183fc9ba9481184e (diff) | |
download | httpd-40655f864108cca870e4442f99969c24097b4c9e.tar.gz |
Provide apr_pool_t arg to register_hooks, since anything they do in that
step -must- be done with a pool that will not outlive the cmd pool, from
which they may have been dynamically loaded.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87697 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/generators/mod_cgid.c')
-rw-r--r-- | modules/generators/mod_cgid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/generators/mod_cgid.c b/modules/generators/mod_cgid.c index 2155a839e6..afca7e4353 100644 --- a/modules/generators/mod_cgid.c +++ b/modules/generators/mod_cgid.c @@ -931,7 +931,7 @@ static int cgid_handler(request_rec *r) return OK; /* NOT r->status, even if it has changed. */ } -static void register_hook(void) +static void register_hook(apr_pool_t *p) { ap_hook_post_config(cgid_init, NULL, NULL, AP_HOOK_MIDDLE); ap_hook_handler(cgid_handler, NULL, NULL, AP_HOOK_MIDDLE); |