summaryrefslogtreecommitdiff
path: root/legacy/eio/src
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2010-10-30 05:59:39 +0000
committerCarsten Haitzler <raster@rasterman.com>2010-10-30 05:59:39 +0000
commit46abf6fc81aa95db173a2e90e1fc1807d8eebc90 (patch)
treeb07b68e549f4d5cedc003e636abdacd79cb70030 /legacy/eio/src
parenta08524ea653ff34c9a50b494631371377fabd665 (diff)
use new type member.
SVN revision: 54018
Diffstat (limited to 'legacy/eio/src')
-rw-r--r--legacy/eio/src/lib/eio_dir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/legacy/eio/src/lib/eio_dir.c b/legacy/eio/src/lib/eio_dir.c
index eca6acaeaa..c3e2808423 100644
--- a/legacy/eio/src/lib/eio_dir.c
+++ b/legacy/eio/src/lib/eio_dir.c
@@ -133,9 +133,9 @@ _eio_dir_recursiv_ls(Ecore_Thread *thread, Eio_Dir_Copy *copy, const char *targe
133 133
134 EINA_ITERATOR_FOREACH(it, info) 134 EINA_ITERATOR_FOREACH(it, info)
135 { 135 {
136 switch (info->dirent->d_type) 136 switch (info->type)
137 { 137 {
138 case DT_UNKNOWN: 138 case EINA_FILE_UNKNOWN:
139 if (stat(info->path, &buffer) != 0) 139 if (stat(info->path, &buffer) != 0)
140 { 140 {
141 eio_file_thread_error(&copy->progress.common, thread); 141 eio_file_thread_error(&copy->progress.common, thread);
@@ -147,7 +147,7 @@ _eio_dir_recursiv_ls(Ecore_Thread *thread, Eio_Dir_Copy *copy, const char *targe
147 else 147 else
148 copy->files = eina_list_append(copy->files, eina_stringshare_add(info->path)); 148 copy->files = eina_list_append(copy->files, eina_stringshare_add(info->path));
149 break; 149 break;
150 case DT_DIR: 150 case EINA_FILE_DIR:
151 dirs = eina_list_append(dirs, eina_stringshare_add(info->path)); 151 dirs = eina_list_append(dirs, eina_stringshare_add(info->path));
152 break; 152 break;
153 default: 153 default: