]> granicus.if.org Git - apache/commitdiff
Use the new wrapper
authorWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 12 Jun 2002 16:56:58 +0000 (16:56 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 12 Jun 2002 16:56:58 +0000 (16:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95617 13f79535-47bb-0310-9956-ffa450edef68

modules/generators/mod_cgid.c

index aebe796bb4f11cf877935f01f3094739f373fb1d..4b38f56fc703314ed22c26dcde0f77c401c9c0e7 100644 (file)
@@ -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;
                 }
             }