valgrind complaint - valid one. fix.

SVN revision: 33891
This commit is contained in:
Carsten Haitzler 2008-03-02 02:01:11 +00:00
parent 8b37476352
commit 0cd91f89df
1 changed files with 2 additions and 1 deletions

View File

@ -240,7 +240,8 @@ ecore_plugin_available_get(Ecore_Path_Group *group)
struct stat st;
struct dirent *d;
stat(path, &st);
if (stat(path, &st) < 0)
continue;
if (!S_ISDIR(st.st_mode))
continue;