You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by aa...@apache.org on 2002/04/04 08:39:22 UTC

cvs commit: httpd-2.0/server scoreboard.c

aaron       02/04/03 22:39:22

  Modified:    server   scoreboard.c
  Log:
  Fix a potential size mismatch (apr_off_t might be 64bits on some platforms).
  
  Revision  Changes    Path
  1.67      +2 -2      httpd-2.0/server/scoreboard.c
  
  Index: scoreboard.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/scoreboard.c,v
  retrieving revision 1.66
  retrieving revision 1.67
  diff -u -r1.66 -r1.67
  --- scoreboard.c	29 Mar 2002 14:33:50 -0000	1.66
  +++ scoreboard.c	4 Apr 2002 06:39:22 -0000	1.67
  @@ -432,8 +432,8 @@
                   ws->my_access_count = 0L;
                   ws->my_bytes_served = 0L;
               }
  -            ws->conn_count = (unsigned short)0;
  -            ws->conn_bytes = (unsigned long)0;
  +            ws->conn_count = 0;
  +            ws->conn_bytes = 0;
           }
           if (r) {
               conn_rec *c = r->connection;