From: Alexander Butenko Date: Wed, 23 Dec 2009 22:39:54 +0000 (+0100) Subject: Fix a typo when using g_access in Web Cache X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06f5306d56766a8dc3b0cca077e16b993b34623a;p=midori Fix a typo when using g_access in Web Cache --- 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;