httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r796566 - /httpd/mod_fcgid/trunk/mod_fcgid/fcgid_bridge.c
Date Tue, 21 Jul 2009 22:12:49 GMT
Author: wrowe
Date: Tue Jul 21 22:12:49 2009
New Revision: 796566

URL: http://svn.apache.org/viewvc?rev=796566&view=rev
Log:
silence a warning, our time intervals are tiny

Modified:
    httpd/mod_fcgid/trunk/mod_fcgid/fcgid_bridge.c

Modified: httpd/mod_fcgid/trunk/mod_fcgid/fcgid_bridge.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/mod_fcgid/fcgid_bridge.c?rev=796566&r1=796565&r2=796566&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/mod_fcgid/fcgid_bridge.c (original)
+++ httpd/mod_fcgid/trunk/mod_fcgid/fcgid_bridge.c Tue Jul 21 22:12:49 2009
@@ -184,8 +184,8 @@
            In this case I will do nothing and return, let the process manager 
            do the job   
          */
-        int dt =
-            apr_time_sec(apr_time_now()) - apr_time_sec(ctx->active_time);
+        int dt = (int)
+            (apr_time_sec(apr_time_now()) - apr_time_sec(ctx->active_time));
         if (dt > g_busy_timeout) {
             /* Do nothing but print log */
             ap_log_error(APLOG_MARK, APLOG_INFO, 0,



Mime
View raw message