]> granicus.if.org Git - apache/commitdiff
A really simple change for readability:
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 27 May 2000 05:31:34 +0000 (05:31 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 27 May 2000 05:31:34 +0000 (05:31 +0000)
    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

server/config.c

index be13fca5d44a5ae887efdf75ab07387e07c01978..ae7184c54d1f7a2b46c9042db8c51ba3a859afff 100644 (file)
@@ -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