* include/http_config.h

(ap_get_module_config, ap_set_module_config): Use the macro
    when AP_DEBUG is _not_ defined, not the other way around.

Noticed by: Jeff Trawick


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98921 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sander Striker
2003-03-07 14:37:36 +00:00
parent 50429af603
commit 96cbc437ca

View File

@ -481,7 +481,7 @@ AP_DECLARE(void *) ap_get_module_config(const ap_conf_vector_t *cv,
AP_DECLARE(void) ap_set_module_config(ap_conf_vector_t *cv, const module *m,
void *val);
#if defined(AP_DEBUG)
#if !defined(AP_DEBUG)
#define ap_get_module_config(v,m) \
(((void **)(v))[(m)->module_index])