Fix a typo when using g_access in Web Cache
This commit is contained in:
parent
fc8145aa41
commit
06f5306d56
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue