how about if opendir fails... we dont try and walk the dir? :)

SVN revision: 48047
This commit is contained in:
Carsten Haitzler 2010-04-16 02:20:56 +00:00
parent 58c7049da8
commit ca87bc3349
1 changed files with 1 additions and 0 deletions

View File

@ -1559,6 +1559,7 @@ efreet_desktop_changes_listen_recursive(const char *path)
efreet_desktop_changes_monitor_add(path);
files = opendir(path);
if (!files) return;
while ((file = readdir(files)))
{
if (!file) break;