You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by st...@apache.org on 2003/03/07 15:37:36 UTC
cvs commit: httpd-2.0/include http_config.h
striker 2003/03/07 06:37:36
Modified: include http_config.h
Log:
* 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
Revision Changes Path
1.101 +1 -1 httpd-2.0/include/http_config.h
Index: http_config.h
===================================================================
RCS file: /home/cvs/httpd-2.0/include/http_config.h,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- http_config.h 6 Mar 2003 17:56:04 -0000 1.100
+++ http_config.h 7 Mar 2003 14:37:36 -0000 1.101
@@ -481,7 +481,7 @@
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])