Archived
1
0
Fork 0

small fix.

This commit is contained in:
Henrik Hautakoski 2010-06-14 22:57:48 +02:00 committed by Henrik Hautakoski
parent 20a13a90b4
commit dc94d1185c
2 changed files with 3 additions and 1 deletions

View file

@ -6,6 +6,8 @@
#define RB_RED 0 #define RB_RED 0
#define RB_BLACK 1 #define RB_BLACK 1
#include <stddef.h>
typedef unsigned char color_t; typedef unsigned char color_t;
typedef unsigned int uint; typedef unsigned int uint;

View file

@ -150,7 +150,7 @@ static int proc_event(inoev *iev) {
case IN_MOVED_FROM : case IN_MOVED_FROM :
/* TODO: clean this */ /* TODO: clean this */
sprintf(buf, "%s%s/", event.path, event.filename); sprintf(buf, "%s%s/", event.path, event.filename);
notify_rm_watch_path(buf); notify_rm_watch(buf);
case IN_DELETE : case IN_DELETE :
type = NOTIFY_DELETE; type = NOTIFY_DELETE;
break; break;