httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1085779 - /httpd/httpd/trunk/server/mpm_common.c
Date Sat, 26 Mar 2011 18:36:11 GMT
Author: trawick
Date: Sat Mar 26 18:36:11 2011
New Revision: 1085779

URL: http://svn.apache.org/viewvc?rev=1085779&view=rev
Log:
use apr_time_from_sec() shortcut

Modified:
    httpd/httpd/trunk/server/mpm_common.c

Modified: httpd/httpd/trunk/server/mpm_common.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm_common.c?rev=1085779&r1=1085778&r2=1085779&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm_common.c (original)
+++ httpd/httpd/trunk/server/mpm_common.c Sat Mar 26 18:36:11 2011
@@ -130,7 +130,7 @@ void ap_wait_or_timeout(apr_exit_why_e *
         return;
     }
 
-    apr_sleep(1000000);
+    apr_sleep(apr_time_from_sec(1));
     ret->pid = -1;
     return;
 }



Mime
View raw message