small fix.
This commit is contained in:
parent
20a13a90b4
commit
dc94d1185c
2 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Reference in a new issue