tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: svn commit: r416897 - in /tomcat/connectors/trunk/jk/native/common: jk_ajp_common.c jk_ajp_common.h jk_lb_worker.c jk_service.h jk_worker.c
Date Mon, 26 Jun 2006 18:54:06 GMT
mturk@apache.org schrieb:
> Author: mturk
> Date: Sat Jun 24 03:44:34 2006
> New Revision: 416897
>
> URL: http://svn.apache.org/viewvc?rev=416897&view=rev
> Log:
> Instead calling time(NULL), use it as a function
> parameter.
>   
> Modified: tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c
>
> @@ -283,32 +284,32 @@
>      return curmax;
>  }
>  
> -static int JK_METHOD maintain_workers(jk_worker_t *p, jk_logger_t *l)
> +static int JK_METHOD maintain_workers(jk_worker_t *p, time_t now, jk_logger_t *l)
>  {
>      unsigned int i = 0;
>      jk_uint64_t curmax = 0;
>      long delta;
> -    time_t now = time(NULL);
> -    JK_TRACE_ENTER(l);
> +    now = time(NULL);
>   
Shouldn't we also drop this last line?


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


Mime
View raw message