httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/metadata mod_unique_id.c
Date Mon, 15 Jul 2002 08:11:11 GMT
wrowe       2002/07/15 01:11:11

  Modified:    modules/metadata mod_unique_id.c
  Log:
    Sleep INTO the next second, not for the entire next second.
    Observed by Sander Striker
  
  Revision  Changes    Path
  1.43      +1 -1      httpd-2.0/modules/metadata/mod_unique_id.c
  
  Index: mod_unique_id.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/metadata/mod_unique_id.c,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- mod_unique_id.c	15 Jul 2002 07:59:31 -0000	1.42
  +++ mod_unique_id.c	15 Jul 2002 08:11:11 -0000	1.43
  @@ -250,7 +250,7 @@
        * But protecting against it is relatively cheap.  We just sleep into the
        * next second.
        */
  -    apr_sleep(apr_time_from_sec(1));
  +    apr_sleep(apr_time_from_sec(1) - apr_time_now());
       return OK;
   }
   
  
  
  

Mime
View raw message