fix-removed-watch-index.patch

This commit is contained in:
Axel Kittenberger 2008-11-26 12:23:29 +00:00
parent 101d89610a
commit 559fd1d18f
1 changed files with 1 additions and 1 deletions

View File

@ -1084,7 +1084,7 @@ bool handle_event(struct inotify_event *event)
}
if (((IN_DELETE | IN_MOVED_FROM) & event->mask) && (IN_ISDIR & event->mask)) {
remove_dirwatch(event->name, i);
remove_dirwatch(event->name, watch);
}
if ((IN_CREATE | IN_CLOSE_WRITE | IN_DELETE |