From: William A. Rowe Jr Date: Wed, 12 Jun 2002 16:56:58 +0000 (+0000) Subject: Use the new wrapper X-Git-Tag: 2.0.38~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9db1cc663f63b59e21bcab7e72193a59b4e5eb68;p=thirdparty%2Fapache%2Fhttpd.git Use the new wrapper git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95617 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/generators/mod_cgid.c b/modules/generators/mod_cgid.c index aebe796bb4f..4b38f56fc70 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; } }