aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/efreet
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-09 16:16:40 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-09 18:38:28 +0900
commit0ea4d0d821f115b83cffef54378d1ead958ef266 (patch)
tree070e4e3a1e333ab406996bcdb5c60d7fefd63d85 /src/bin/efreet
parentefreetd - dont use XDG_RUNTIME_DIR or EFREET_LOG env vars for setuid (diff)
downloadefl-0ea4d0d821f115b83cffef54378d1ead958ef266.tar.gz
efreetd cache - use eina home env get to centralize homedir fetching
this cleans up and improves a getenv that should really use eina
Diffstat (limited to 'src/bin/efreet')
-rw-r--r--src/bin/efreet/efreetd_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/efreet/efreetd_cache.c b/src/bin/efreet/efreetd_cache.c
index b1ef5e8b81..75a87c220b 100644
--- a/src/bin/efreet/efreetd_cache.c
+++ b/src/bin/efreet/efreetd_cache.c
@@ -524,7 +524,7 @@ stat_cmp(const void *a, const void *b)
static Eina_Bool
_check_recurse_monitor_sanity(Eina_Inarray *stack, const char *path, unsigned int stack_limit)
{
- const char *home = getenv("HOME");
+ const char *home = eina_environment_home_get();
// protect against too deep recursion even if it's valid.
if (eina_inarray_count(stack) >= stack_limit)