mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174751 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -281,7 +281,7 @@ static const char *set_balancer_param(proxy_server_conf *conf,
|
||||
return "stickysession length must be < 64 characters";
|
||||
PROXY_STRNCPY(balancer->s->sticky_path, val);
|
||||
PROXY_STRNCPY(balancer->s->sticky, val);
|
||||
|
||||
|
||||
if ((path = strchr((char *)balancer->s->sticky, '|'))) {
|
||||
*path++ = '\0';
|
||||
PROXY_STRNCPY(balancer->s->sticky_path, path);
|
||||
@@ -369,7 +369,7 @@ static const char *set_balancer_param(proxy_server_conf *conf,
|
||||
else if (!strcasecmp(key, "nonce")) {
|
||||
if (!strcasecmp(val, "None")) {
|
||||
*balancer->s->nonce = '\0';
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (strlen(val) > sizeof(balancer->s->nonce)-1) {
|
||||
return "Provided nonce is too large";
|
||||
|
Reference in New Issue
Block a user