1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Respect FAMChanged -- attempt to fix bug 5307

Thanks to Ricardo Santos
This commit is contained in:
Volker Lendecke 2008-03-06 07:19:46 +01:00
parent b214365ec3
commit 97cc5e316a

View File

@ -156,6 +156,9 @@ static void fam_handler(struct event_context *event_ctx,
fam_event.filename)); fam_event.filename));
switch (fam_event.code) { switch (fam_event.code) {
case FAMChanged:
ne.action = NOTIFY_ACTION_MODIFIED;
break;
case FAMCreated: case FAMCreated:
ne.action = NOTIFY_ACTION_ADDED; ne.action = NOTIFY_ACTION_ADDED;
break; break;