Bring db_watch_delete_bywd() prototype back in line with other db_watch_delete_by*()

This commit is contained in:
Julien BLACHE
2009-06-11 16:47:15 +02:00
parent 582f0e6746
commit c81b33bd02
3 changed files with 5 additions and 5 deletions

View File

@@ -718,7 +718,7 @@ process_inotify_dir(struct watch_info *wi, char *path, struct inotify_event *ie)
*/
inotify_rm_watch(inofd, ie->wd);
db_watch_delete_bywd(wi);
db_watch_delete_bywd(ie->wd);
memset(&we, 0, sizeof(struct watch_enum));
@@ -919,7 +919,7 @@ inotify_cb(int fd, short event, void *arg)
{
DPRINTF(E_DBG, L_SCAN, "%s deleted or backing filesystem unmounted!\n", wi.path);
db_watch_delete_bywd(&wi);
db_watch_delete_bywd(ie->wd);
free(wi.path);
continue;
}