mturk       2005/02/21 08:14:13

  Modified:    jk/native/common jk_lb_worker.c
  Log:
  Fix missing service jvm_route settings.
  
  Revision  Changes    Path
  1.64      +5 -3      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.63
  retrieving revision 1.64
  diff -u -r1.63 -r1.64
  --- jk_lb_worker.c    19 Feb 2005 08:12:29 -0000      1.63
  +++ jk_lb_worker.c    21 Feb 2005 16:14:13 -0000      1.64
  @@ -203,6 +203,7 @@
       for (i = 0; i < p->num_of_workers; i++) {
           if (strcmp(p->lb_workers[i].s->name, name) == 0) {
               rc = &p->lb_workers[i];
  +            rc->r = &(rc->s->name[0]);
               break;
           }
       }
  @@ -324,8 +325,9 @@
                   curmin = mytraffic;
               }
           }
  -    }
  -    
  +    }    
  +    if (candidate)
  +        candidate->r = &(candidate->s->name[0]);
       return candidate;
   }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to