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/native2/common jk_worker_status.c
Date Sat, 13 Mar 2004 10:12:24 GMT
mturk       2004/03/13 02:12:24

  Modified:    jk/native2/common jk_worker_status.c
  Log:
  Use the apr_ctime for ReqStart.
  Since this is absolute time not a time difference, there is no need to
  display secons after 1970.
  
  Revision  Changes    Path
  1.56      +2 -1      jakarta-tomcat-connectors/jk/native2/common/jk_worker_status.c
  
  Index: jk_worker_status.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_worker_status.c,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- jk_worker_status.c	13 Mar 2004 09:17:25 -0000	1.55
  +++ jk_worker_status.c	13 Mar 2004 10:12:24 -0000	1.56
  @@ -70,7 +70,8 @@
       else
           s->jkprintf(env, s, "<td>-</td>\n");
   
  -    s->jkprintf(env, s, "<td>%lu</td>\n", (long)apr_time_as_msec(stat->startTime));
  +    apr_ctime( ctimeBuf, stat->startTime);
  +    s->jkprintf(env, s, "<td>%s</td>\n", ctimeBuf);
       s->jkprintf(env, s, "<td>%ld</td>\n",
                   (long)apr_time_as_msec(stat->jkStartTime - stat->startTime));
       s->jkprintf(env, s, "<td>%ld</td>\n",
  
  
  

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