From: Sander Striker Date: Fri, 7 Mar 2003 14:37:36 +0000 (+0000) Subject: * include/http_config.h X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff43cc70df86da907fc2352a253a68f1215dd7f3;p=apache * 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 --- diff --git a/include/http_config.h b/include/http_config.h index 96221f928d..61efab4e98 100644 --- a/include/http_config.h +++ b/include/http_config.h @@ -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])