httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1067205 - /httpd/httpd/trunk/modules/proxy/mod_proxy.c
Date Fri, 04 Feb 2011 16:11:12 GMT
Author: jim
Date: Fri Feb  4 16:11:12 2011
New Revision: 1067205

URL: http://svn.apache.org/viewvc?rev=1067205&view=rev
Log:
Oops.... we need to adjust sticky, which is an array now

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy.c?rev=1067205&r1=1067204&r2=1067205&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy.c Fri Feb  4 16:11:12 2011
@@ -292,7 +292,7 @@ static const char *set_balancer_param(pr
         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);
         }



Mime
View raw message