httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r809440 - /httpd/httpd/trunk/modules/cache/cache_util.c
Date Mon, 31 Aug 2009 00:22:44 GMT
Author: fuankg
Date: Mon Aug 31 00:22:44 2009
New Revision: 809440

URL: http://svn.apache.org/viewvc?rev=809440&view=rev
Log:
moved "finfo.mtime = 0;" after var declaration;
removed tab.

Modified:
    httpd/httpd/trunk/modules/cache/cache_util.c

Modified: httpd/httpd/trunk/modules/cache/cache_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/cache_util.c?rev=809440&r1=809439&r2=809440&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/cache_util.c (original)
+++ httpd/httpd/trunk/modules/cache/cache_util.c Mon Aug 31 00:22:44 2009
@@ -193,10 +193,11 @@
     char dir[5];
     apr_time_t now = apr_time_now();
     apr_finfo_t finfo;
-    finfo.mtime = 0;
     apr_file_t *lockfile;
     void *dummy;
 
+    finfo.mtime = 0;
+
     if (!conf || !conf->lock || !conf->lockpath) {
         /* no locks configured, leave */
         return APR_SUCCESS;
@@ -205,7 +206,7 @@
     /* lock already obtained earlier? if so, success */
     apr_pool_userdata_get(&dummy, CACHE_LOCKFILE_KEY, r->pool);
     if (dummy) {
-    	return APR_SUCCESS;
+        return APR_SUCCESS;
     }
 
     /* create the key if it doesn't exist */



Mime
View raw message