From dc18e7190355c933dfb1c2e25d405489566114ef Mon Sep 17 00:00:00 2001 From: Vyacheslav Reutskiy Date: Wed, 23 Nov 2016 16:06:43 +0200 Subject: ecore_file: get stat from correct file --- src/lib/ecore_file/ecore_file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/ecore_file') diff --git a/src/lib/ecore_file/ecore_file.c b/src/lib/ecore_file/ecore_file.c index 1b8b10a2d8..f2b5de172a 100644 --- a/src/lib/ecore_file/ecore_file.c +++ b/src/lib/ecore_file/ecore_file.c @@ -331,7 +331,8 @@ ecore_file_recursive_rm(const char *dir) if (readlink(dir, buf, sizeof(buf) - 1) > 0) return ecore_file_unlink(dir); - if (!_ecore_file_stat(buf, NULL, NULL, NULL, &is_dir, NULL)) + + if (!_ecore_file_stat(dir, NULL, NULL, NULL, &is_dir, NULL)) return EINA_FALSE; #else if (lstat(dir, &st) == -1) -- cgit v1.2.1