summaryrefslogtreecommitdiff
path: root/include/http_config.h
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2015-01-27 20:21:48 +0000
committerEric Covener <covener@apache.org>2015-01-27 20:21:48 +0000
commita77068dd87874633cffac5ee087e3a93ec1f30d8 (patch)
treef9e8f592b5eba6cf53320a348514c75a9666a81f /include/http_config.h
parent95d663edf362d04c7627c9be53a0b4629d8641b3 (diff)
downloadhttpd-a77068dd87874633cffac5ee087e3a93ec1f30d8.tar.gz
AP_INIT_NO_ARGS mishandled in macro
Submitted by: Joachim Zobel <jzobel heute-morgen.de>, covener Committed by: covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1655146 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_config.h')
-rw-r--r--include/http_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/http_config.h b/include/http_config.h
index da3b4a2dac..da4490c0a4 100644
--- a/include/http_config.h
+++ b/include/http_config.h
@@ -117,7 +117,7 @@ typedef union {
/** mechanism for declaring a directive with no arguments */
# define AP_INIT_NO_ARGS(directive, func, mconfig, where, help) \
- { directive, { .no_args=func }, mconfig, where, RAW_ARGS, help }
+ { directive, { .no_args=func }, mconfig, where, NO_ARGS, help }
/** mechanism for declaring a directive with raw argument parsing */
# define AP_INIT_RAW_ARGS(directive, func, mconfig, where, help) \
{ directive, { .raw_args=func }, mconfig, where, RAW_ARGS, help }
@@ -168,7 +168,7 @@ typedef const char *(*cmd_func) ();
# define AP_FLAG func
# define AP_INIT_NO_ARGS(directive, func, mconfig, where, help) \
- { directive, func, mconfig, where, RAW_ARGS, help }
+ { directive, func, mconfig, where, NO_ARGS, help }
# define AP_INIT_RAW_ARGS(directive, func, mconfig, where, help) \
{ directive, func, mconfig, where, RAW_ARGS, help }
# define AP_INIT_TAKE_ARGV(directive, func, mconfig, where, help) \