]> granicus.if.org Git - apache/commitdiff
moved "finfo.mtime = 0;" after var declaration;
authorGuenter Knauf <fuankg@apache.org>
Mon, 31 Aug 2009 00:22:44 +0000 (00:22 +0000)
committerGuenter Knauf <fuankg@apache.org>
Mon, 31 Aug 2009 00:22:44 +0000 (00:22 +0000)
removed tab.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@809440 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/cache_util.c

index 81ce371d28b9b2e2804de969324bb02d15523e6f..9b8b1e40757632d4a0d393afbd9d42ae387a2c5b 100644 (file)
@@ -193,10 +193,11 @@ CACHE_DECLARE(apr_status_t) ap_cache_try_lock(cache_server_conf *conf,
     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 @@ CACHE_DECLARE(apr_status_t) ap_cache_try_lock(cache_server_conf *conf,
     /* 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 */