summaryrefslogtreecommitdiff
path: root/modules/generators
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2002-06-12 16:56:58 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2002-06-12 16:56:58 +0000
commit9db1cc663f63b59e21bcab7e72193a59b4e5eb68 (patch)
tree207e74f1b27141a49b98c71b2e3a93a044dbd2ea /modules/generators
parent271ee8497b12dd24e922966c9f467c7dcebd3145 (diff)
downloadhttpd-9db1cc663f63b59e21bcab7e72193a59b4e5eb68.tar.gz
Use the new wrapper
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95617 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/generators')
-rw-r--r--modules/generators/mod_cgid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/generators/mod_cgid.c b/modules/generators/mod_cgid.c
index aebe796bb4..4b38f56fc7 100644
--- a/modules/generators/mod_cgid.c
+++ b/modules/generators/mod_cgid.c
@@ -967,7 +967,7 @@ static int connect_to_daemon(int *sdptr, request_rec *r,
connect_tries);
close(sd);
apr_sleep(sliding_timer);
- if (sliding_timer < 2 * APR_USEC_PER_SEC) {
+ if (sliding_timer < APR_TIME_FROM_SEC(2)) {
sliding_timer *= 2;
}
}