]> spindle.queued.net Git - midori/commitdiff
Fix a typo when using g_access in Web Cache
authorAlexander Butenko <a.butenka@gmail.com>
Wed, 23 Dec 2009 22:39:54 +0000 (23:39 +0100)
committerChristian Dywan <christian@twotoasts.de>
Wed, 23 Dec 2009 22:39:54 +0000 (23:39 +0100)
extensions/web-cache.c

index 7a43bec7e195cc2078fa008aaae9e2dc1d7e86a9..eb4b88f41ac8729577abfc8121e4d5dbbdcc4235 100644 (file)
@@ -127,7 +127,7 @@ web_cache_tmp_prepare (gchar* filename)
 {
     gchar* tmp_filename = g_strdup_printf ("%s.tmp", filename);
 
-    if (g_access (filename, F_OK) == 0)
+    if (g_access (tmp_filename, F_OK) == 0)
     {
         g_free (tmp_filename);
         return FALSE;