httpd-cvs mailing list archives

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

  Modified:    modules/metadata mod_unique_id.c
  Log:
  Eat our own dogfood when it comes to the time macros.
  
  Revision  Changes    Path
  1.45      +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.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- mod_unique_id.c	15 Jul 2002 08:15:31 -0000	1.44
  +++ mod_unique_id.c	15 Jul 2002 08:26:06 -0000	1.45
  @@ -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_time_now() % APR_USEC_PER_SEC));
  +    apr_sleep(apr_time_from_sec(1) - apr_time_usec(apr_time_now()));
       return OK;
   }
   
  
  
  

Mime
View raw message