tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billbar...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native/common jk_lb_worker.c
Date Thu, 15 Jul 2004 05:17:17 GMT
billbarker    2004/07/14 22:17:17

  Modified:    jk/native/common jk_lb_worker.c
  Log:
  Fix backwards test, and off-by-one on value.
  
  Revision  Changes    Path
  1.19      +3 -2      jakarta-tomcat-connectors/jk/native/common/jk_lb_worker.c
  
  Index: jk_lb_worker.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_lb_worker.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- jk_lb_worker.c	15 Jul 2004 03:37:00 -0000	1.18
  +++ jk_lb_worker.c	15 Jul 2004 05:17:17 -0000	1.19
  @@ -127,13 +127,14 @@
                      id_start[-1] == ',' ||
                      isspace(is_start[-1]) ) {
                       id_start += strlen(name);
  -                    while(*id_start && !isspace(*id_start))
  +                    while(*id_start && isspace(*id_start))
                           ++id_start;
                       if(*id_start == '=' && id_start[1]) {
                           /*
                            * Session cookie was found, get it's value
                            */
                           char *id_end;
  +                        ++id_start;
                           id_start = jk_pool_strdup(s->pool, id_start);
                           if((id_end = strchr(id_start, ';')) != NULL) {
                               *id_end = '\0';
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message