git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r21064: The core of this patch is
[samba.git]
/
source3
/
smbd
/
notify.c
diff --git
a/source3/smbd/notify.c
b/source3/smbd/notify.c
index c2f4572e7ecd85ddd38da68d81bb3f9dae77b3ee..d920633b0aa66f1f7af125501f328b2e718aa421 100644
(file)
--- a/
source3/smbd/notify.c
+++ b/
source3/smbd/notify.c
@@
-498,7
+498,8
@@
void notify_fsp(files_struct *fsp, uint32 action, char *name)
}
static void notify_message_callback(int msgtype, struct process_id pid,
}
static void notify_message_callback(int msgtype, struct process_id pid,
- void *buf, size_t len)
+ void *buf, size_t len,
+ void *private_data)
{
struct notify_message msg;
files_struct *fsp;
{
struct notify_message msg;
files_struct *fsp;
@@
-548,7
+549,7
@@
BOOL init_change_notify(void)
return False;
}
return False;
}
- message_register(MSG_SMB_NOTIFY, notify_message_callback);
+ message_register(MSG_SMB_NOTIFY, notify_message_callback
, NULL
);
return True;
}
return True;
}