summaryrefslogtreecommitdiffstats
path: root/modules/metadata/mod_unique_id.c
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2000-08-06 08:07:53 +0200
committerWilliam A. Rowe Jr <wrowe@apache.org>2000-08-06 08:07:53 +0200
commit1a9db204f578e99486280ebfffada02677b1296a (patch)
treea5ad2bfde21ec22fac957b8a436d1b956a746796 /modules/metadata/mod_unique_id.c
parentDocument util_charset.h using ScanDoc (diff)
downloadapache2-1a9db204f578e99486280ebfffada02677b1296a.tar.xz
apache2-1a9db204f578e99486280ebfffada02677b1296a.zip
Remaining cleanup of ap_ -> apr_ and AP_ -> APR_ transformation...
see src/lib/apr/apr_compat.h for most details. Also a few minor nits to get Win32 to build. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86008 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/metadata/mod_unique_id.c')
-rw-r--r--modules/metadata/mod_unique_id.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/metadata/mod_unique_id.c b/modules/metadata/mod_unique_id.c
index b07b5b565d..0ae1f823d7 100644
--- a/modules/metadata/mod_unique_id.c
+++ b/modules/metadata/mod_unique_id.c
@@ -244,7 +244,7 @@ static void unique_id_global_init(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *p
* But protecting against it is relatively cheap. We just sleep into the
* next second.
*/
- pause = (apr_interval_time_t)(1000000 - (apr_now() % AP_USEC_PER_SEC));
+ pause = (apr_interval_time_t)(1000000 - (apr_now() % APR_USEC_PER_SEC));
apr_sleep(pause);
}
@@ -287,7 +287,7 @@ static void unique_id_child_init(apr_pool_t *p, server_rec *s)
/* Some systems have very low variance on the low end of their system
* counter, defend against that.
*/
- cur_unique_id.counter = tv % AP_USEC_PER_SEC / 10;
+ cur_unique_id.counter = tv % APR_USEC_PER_SEC / 10;
/*
* We must always use network ordering for these bytes, so that