]> granicus.if.org Git - apache/commitdiff
* include/http_config.h
authorSander Striker <striker@apache.org>
Fri, 7 Mar 2003 14:37:36 +0000 (14:37 +0000)
committerSander Striker <striker@apache.org>
Fri, 7 Mar 2003 14:37:36 +0000 (14:37 +0000)
  (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

include/http_config.h

index 96221f928dfec3d13f4b28d171b4cc788ef2c5b8..61efab4e98cfc6e2b4bf6430038852bc04d920cb 100644 (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])