mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
command changes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1722358 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -238,7 +238,7 @@ static const char *set_hc_template(cmd_parms *cmd, void *dummy, const char *arg)
|
|||||||
word = ap_getword_conf(cmd->pool, &arg);
|
word = ap_getword_conf(cmd->pool, &arg);
|
||||||
val = strchr(word, '=');
|
val = strchr(word, '=');
|
||||||
if (!val) {
|
if (!val) {
|
||||||
return "Invalid HCheckTemplate parameter. Parameter must be "
|
return "Invalid ProxyHCTemplate parameter. Parameter must be "
|
||||||
"in the form 'key=value'";
|
"in the form 'key=value'";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -249,7 +249,7 @@ static const char *set_hc_template(cmd_parms *cmd, void *dummy, const char *arg)
|
|||||||
void *v;
|
void *v;
|
||||||
/* get rid of recently pushed (bad) template */
|
/* get rid of recently pushed (bad) template */
|
||||||
v = apr_array_pop(ctx->templates);
|
v = apr_array_pop(ctx->templates);
|
||||||
return apr_pstrcat(cmd->temp_pool, "HCheckTemplate: ", err, " ", word, "=", val, "; ", name, NULL);
|
return apr_pstrcat(cmd->temp_pool, "ProxyHCTemplate: ", err, " ", word, "=", val, "; ", name, NULL);
|
||||||
}
|
}
|
||||||
/* No error means we have a valid template */
|
/* No error means we have a valid template */
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user