summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2010-11-18 21:15:24 +0100
committerStefan Fritsch <sf@apache.org>2010-11-18 21:15:24 +0100
commit39db8e5413ae95e9216c6da95b35c5f2ce5846b6 (patch)
tree1d3ac6c55ae191ad7f9b2644a7e3c6d9605e81bb /server
parent./build.sh all (diff)
downloadapache2-39db8e5413ae95e9216c6da95b35c5f2ce5846b6.tar.xz
apache2-39db8e5413ae95e9216c6da95b35c5f2ce5846b6.zip
mod_proxy: Fix ProxyPassInterpolateEnv directive.
PR: 50292 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1036602 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r--server/config.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/server/config.c b/server/config.c
index dbbbaca379..465ee59e10 100644
--- a/server/config.c
+++ b/server/config.c
@@ -1396,6 +1396,18 @@ AP_DECLARE_NONSTD(const char *) ap_set_flag_slot(cmd_parms *cmd,
return NULL;
}
+AP_DECLARE_NONSTD(const char *) ap_set_flag_slot_char(cmd_parms *cmd,
+ void *struct_ptr_v, int arg)
+{
+ int offset = (int)(long)cmd->info;
+ char *struct_ptr = (char *)struct_ptr_v;
+
+ *(struct_ptr + offset) = arg ? 1 : 0;
+
+ return NULL;
+}
+
+
AP_DECLARE_NONSTD(const char *) ap_set_file_slot(cmd_parms *cmd, void *struct_ptr,
const char *arg)
{