diff options
author | Eric Covener <covener@apache.org> | 2015-01-27 21:21:48 +0100 |
---|---|---|
committer | Eric Covener <covener@apache.org> | 2015-01-27 21:21:48 +0100 |
commit | a77068dd87874633cffac5ee087e3a93ec1f30d8 (patch) | |
tree | f9e8f592b5eba6cf53320a348514c75a9666a81f /include/http_config.h | |
parent | Improve r1525489 (one line with a "-" was forgotten) and synch with 2.4.x (diff) | |
download | apache2-a77068dd87874633cffac5ee087e3a93ec1f30d8.tar.xz apache2-a77068dd87874633cffac5ee087e3a93ec1f30d8.zip |
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.h | 4 |
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) \ |