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
This commit is contained in:
William A. Rowe Jr
2001-01-17 15:52:12 +00:00
parent c560382b19
commit 40655f8641
48 changed files with 107 additions and 109 deletions

View File

@ -141,7 +141,7 @@ static const command_rec suexec_cmds[] =
{ NULL }
};
static void suexec_hooks(void)
static void suexec_hooks(apr_pool_t *p)
{
ap_hook_get_suexec_identity(get_suexec_id_doer,NULL,NULL,AP_HOOK_MIDDLE);
}