]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Oops.... we need to adjust sticky, which is an array now
authorJim Jagielski <jim@apache.org>
Fri, 4 Feb 2011 16:11:12 +0000 (16:11 +0000)
committerJim Jagielski <jim@apache.org>
Fri, 4 Feb 2011 16:11:12 +0000 (16:11 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1067205 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy.c

index 969da8da424d74b0f82b503404220ae45231d422..2a4cb1c2a99dbd77943522866e0f2dd295c8b764 100644 (file)
@@ -292,7 +292,7 @@ static const char *set_balancer_param(proxy_server_conf *conf,
         PROXY_STRNCPY(balancer->s->sticky_path, val);
         PROXY_STRNCPY(balancer->s->sticky, val);
         
-        if ((path = strchr((char *)val, '|'))) {
+        if ((path = strchr((char *)balancer->s->sticky, '|'))) {
             *path++ = '\0';
             PROXY_STRNCPY(balancer->s->sticky_path, path);
         }