efreet - use eina tmp dir instead of /tmp dir

use eina_environment_tmp_get() for windows
This commit is contained in:
Carsten Haitzler 2016-04-08 12:52:36 +09:00
parent ea6027b3c8
commit 09435e5e81
1 changed files with 2 additions and 2 deletions

View File

@ -51,8 +51,8 @@ main(int argc, char *argv[])
s = getenv("XDG_RUNTIME_DIR");
if (s) log_file_dir = s;
else log_file_dir = "/tmp";
if (gethostname(buf, sizeof(buf)) < 0)
else log_file_dir = eina_environment_tmp_get();
if (gethostname(buf, sizeof(buf)) < 0)
hostname_str = "";
else
hostname_str = buf;