tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native/common jk_lb_worker.c
Date Wed, 13 Apr 2005 12:40:03 GMT
mturk       2005/04/13 05:40:03

  Modified:    jk/native/common jk_lb_worker.c
  Log:
  Add difftime instead simply calculating time.
  
  Revision  Changes    Path
  1.76      +2 -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.75
  retrieving revision 1.76
  diff -u -r1.75 -r1.76
  --- jk_lb_worker.c	9 Apr 2005 15:29:14 -0000	1.75
  +++ jk_lb_worker.c	13 Apr 2005 12:40:03 -0000	1.76
  @@ -165,7 +165,7 @@
                            int recover_wait_time,
                            jk_logger_t *l)
   {
  -    int elapsed = (int)(time(0) - w->s->error_time);
  +    int elapsed = (int)difftime(time(NULL), w->s->error_time);
       JK_TRACE_ENTER(l);
   
       if (elapsed <= recover_wait_time) {
  
  
  

---------------------------------------------------------------------
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