efreetd - fix more cache path handling to live in the cache dir

follow on fixes from 5028a88077

@fix
This commit is contained in:
Carsten Haitzler 2016-04-08 12:41:36 +09:00
parent 5028a88077
commit 978f416b8c
1 changed files with 2 additions and 1 deletions

View File

@ -277,7 +277,8 @@ _open_temp_eet(Eina_Tmpstr **path, const char *rel)
char *tmp;
tmp = strdup(rel);
snprintf(buffer, sizeof(buffer), "%s.XXXXXX.cache", basename(tmp));
snprintf(buffer, sizeof(buffer), "%s/efreet/%s.XXXXXX.cache",
efreet_cache_home_get(), basename(tmp));
free(tmp);
}