You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2009/11/05 01:50:03 UTC

svn commit: r832941 - /httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_main.c

Author: trawick
Date: Thu Nov  5 00:50:03 2009
New Revision: 832941

URL: http://svn.apache.org/viewvc?rev=832941&view=rev
Log:
axe unnecessary apr_time_now() call, hinted at indirectly by LLVM scan-build

Modified:
    httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_main.c

Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_main.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_main.c?rev=832941&r1=832940&r2=832941&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_main.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_main.c Thu Nov  5 00:50:03 2009
@@ -286,7 +286,7 @@
         || apr_time_sec(now) - apr_time_sec(lasterrorscan) <=
         sconf->error_scan_interval)
         return;
-    lasterrorscan = now = apr_time_now();
+    lasterrorscan = now;
 
     /* Try wait dead processes, restore to free list */
     /* Note: I can't keep the lock during the scan */