Fix a typo when using g_access in Web Cache

This commit is contained in:
Alexander Butenko 2009-12-23 23:39:54 +01:00 committed by Christian Dywan
parent fc8145aa41
commit 06f5306d56

View 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;