apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1524014 - /apr/apr/trunk/test/sendfile.c
Date Tue, 17 Sep 2013 12:45:16 GMT
Author: trawick
Date: Tue Sep 17 12:45:16 2013
New Revision: 1524014

URL: http://svn.apache.org/r1524014
Log:
fix what is effectively apr_time_from_msec(apr_time_from_msec(small))

Reported by: Yann Ylavic <ylavic.dev gmail.com>

Modified:
    apr/apr/trunk/test/sendfile.c

Modified: apr/apr/trunk/test/sendfile.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/sendfile.c?rev=1524014&r1=1524013&r2=1524014&view=diff
==============================================================================
--- apr/apr/trunk/test/sendfile.c (original)
+++ apr/apr/trunk/test/sendfile.c Tue Sep 17 12:45:16 2013
@@ -228,7 +228,7 @@ static int client(apr_pool_t *p, client_
     while (connect_tries--) {
         rv = apr_socket_connect(sock, destsa);
         if (connect_tries && APR_STATUS_IS_ECONNREFUSED(rv)) {
-            apr_sleep(apr_time_from_msec(connect_retry_interval));
+            apr_sleep(connect_retry_interval);
             connect_retry_interval *= 2;
         }
     }



Mime
View raw message