From: William A. Rowe Jr Date: Sat, 27 May 2000 05:31:34 +0000 (+0000) Subject: A really simple change for readability: X-Git-Tag: APACHE_2_0_ALPHA_4~72 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff26991747102de5cb83134fbb3814a51a3454e4;p=apache A really simple change for readability: ap_pool_t *g_pHookPool; becomes ap_global_hook_pool int g_bDebugHooks; becomes ap_debug_module_hooks const char *g_szCurrentHookName; becomes ap_debug_module_name Just as a reminder, these are now declared in ap_hooks.c git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85310 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/config.c b/server/config.c index be13fca5d4..ae7184c54d 100644 --- a/server/config.c +++ b/server/config.c @@ -373,9 +373,9 @@ void ap_register_hooks(module *m) if(getenv("SHOW_HOOKS")) { printf("Registering hooks for %s\n",m->name); - g_bDebugHooks=1; + ap_debug_module_hooks=1; } - g_szCurrentHookName=m->name; + ap_debug_module_name=m->name; m->register_hooks(); } } @@ -539,7 +539,7 @@ void ap_setup_prelinked_modules(process_rec *process) module **m; module **m2; - g_pHookPool=process->pconf; + ap_global_hook_pool=process->pconf; /* * Initialise total_modules variable and module indices