httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/modules/generators mod_status.c
Date Fri, 15 Mar 2002 12:40:40 GMT
trawick     02/03/15 04:40:40

  Modified:    modules/generators mod_status.c
  Log:
  fix a couple of formatting bugs in the !HAVE_TIMES path
  
  (somebody forgot to convert floating point format to
  long integer format when APR-izing the time)
  
  Revision  Changes    Path
  1.59      +2 -2      httpd-2.0/modules/generators/mod_status.c
  
  Index: mod_status.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_status.c,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -r1.58 -r1.59
  --- mod_status.c	15 Mar 2002 12:04:58 -0000	1.58
  +++ mod_status.c	15 Mar 2002 12:40:39 -0000	1.59
  @@ -635,7 +635,7 @@
                           }
   #ifndef HAVE_TIMES
                           /* Allow for OS/2 not having CPU stats */
  -                        ap_rprintf(r, "]\n %.0f %ld (",
  +                        ap_rprintf(r, "]\n %ld %ld (",
   #else
                           ap_rprintf(r, "] u%g s%g cu%g cs%g\n %ld %ld (",
                                      ws_record.times.tms_utime / tick,
  @@ -718,7 +718,7 @@
                           
   #ifndef HAVE_TIMES
                           /* Allow for OS/2 not having CPU stats */
  -                        ap_rprintf(r, "\n</td><td>%.0f</td><td>%ld",
  +                        ap_rprintf(r, "\n</td><td>%ld</td><td>%ld",
   #else
                           ap_rprintf(r, "\n</td><td>%.2f</td><td>%ld</td><td>%ld",
                                      (ws_record.times.tms_utime +
  
  
  

Mime
View raw message