summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorBrian Pane <brianp@apache.org>2002-07-15 09:59:31 +0200
committerBrian Pane <brianp@apache.org>2002-07-15 09:59:31 +0200
commit7207c17ad2ffa0846bc75ae285c61730187965c4 (patch)
tree63c729e17df3430d314f41a7b03aed6eb34fb9cd /modules
parent Timeout/time fixes (diff)
downloadapache2-7207c17ad2ffa0846bc75ae285c61730187965c4.tar.xz
apache2-7207c17ad2ffa0846bc75ae285c61730187965c4.zip
Remove a time lookup that's now unnecessary
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96056 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r--modules/metadata/mod_unique_id.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/metadata/mod_unique_id.c b/modules/metadata/mod_unique_id.c
index 5b24872d4e..9e9a8edbb4 100644
--- a/modules/metadata/mod_unique_id.c
+++ b/modules/metadata/mod_unique_id.c
@@ -178,7 +178,6 @@ static int unique_id_global_init(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *pt
apr_status_t rv;
char *ipaddrstr;
apr_sockaddr_t *sockaddr;
- apr_time_t now;
/*
* Calculate the sizes and offsets in cur_unique_id.
@@ -251,7 +250,6 @@ static int unique_id_global_init(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *pt
* But protecting against it is relatively cheap. We just sleep into the
* next second.
*/
- now = apr_time_now();
apr_sleep(apr_time_from_sec(1));
return OK;
}