Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 25288 invoked by uid 500); 15 Jul 2002 08:26:10 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 25275 invoked by uid 500); 15 Jul 2002 08:26:10 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 15 Jul 2002 08:26:07 -0000 Message-ID: <20020715082607.93934.qmail@icarus.apache.org> From: striker@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/modules/metadata mod_unique_id.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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; }