From 06f5306d56766a8dc3b0cca077e16b993b34623a Mon Sep 17 00:00:00 2001 From: Alexander Butenko Date: Wed, 23 Dec 2009 23:39:54 +0100 Subject: [PATCH] Fix a typo when using g_access in Web Cache --- extensions/web-cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/web-cache.c b/extensions/web-cache.c index 7a43bec7..eb4b88f4 100644 --- a/extensions/web-cache.c +++ b/extensions/web-cache.c @@ -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; -- 2.39.5