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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]