summaryrefslogtreecommitdiff
path: root/src/bin/efreet/efreetd_cache.c
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/efreetd_cache.c
parent6b090a00b6b7b2d76948f36079204a1ee26ae468 (diff)
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/efreetd_cache.c')
-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)
524static Eina_Bool 524static Eina_Bool
525_check_recurse_monitor_sanity(Eina_Inarray *stack, const char *path, unsigned int stack_limit) 525_check_recurse_monitor_sanity(Eina_Inarray *stack, const char *path, unsigned int stack_limit)
526{ 526{
527 const char *home = getenv("HOME"); 527 const char *home = eina_environment_home_get();
528 528
529 // protect against too deep recursion even if it's valid. 529 // protect against too deep recursion even if it's valid.
530 if (eina_inarray_count(stack) >= stack_limit) 530 if (eina_inarray_count(stack) >= stack_limit)