git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d88a06
)
v3-4-ctdb: Attempt to fix a segfault in notify_onelevel
author
Volker Lendecke
<vl@samba.org>
Tue, 17 Aug 2010 11:20:02 +0000
(13:20 +0200)
committer
Volker Lendecke
<vl@samba.org>
Tue, 17 Aug 2010 12:01:47 +0000
(14:01 +0200)
source3/smbd/notify.c
patch
|
blob
|
history
diff --git
a/source3/smbd/notify.c
b/source3/smbd/notify.c
index 11154dbce2ea030d276ba3ddbd3dda22198a367d..bf7165cc4030992a443cf0fb643edd7380a887b1 100644
(file)
--- a/
source3/smbd/notify.c
+++ b/
source3/smbd/notify.c
@@
-417,7
+417,8
@@
void notify_fname(connection_struct *conn, uint32 action, uint32 filter,
state->do_onelevel ? state->name : "::no onelevel",
(int)state->action, (int)state->filter));
- te = event_add_timed(smbd_event_context(), NULL, timeval_zero(),
+ te = event_add_timed(smbd_event_context(), conn->notify_ctx,
+ timeval_zero(),
notify_fname_callback, state);
if (te == NULL) {
DEBUG(10, ("event_add_timed failed\n"));