summaryrefslogtreecommitdiff
path: root/source3/smbd/notify_hash.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-06-14 07:11:27 +0000
committerAndrew Tridgell <tridge@samba.org>2000-06-14 07:11:27 +0000
commitcc5502a4d01bfc4946fbd198aad75ea03e9734d3 (patch)
tree0f2ed7048c5c403f8bf90e3e259d7aa907f2cc3c /source3/smbd/notify_hash.c
parent1896c721fbd01b6d1f95b05350010c17fccbf612 (diff)
downloadsamba-cc5502a4d01bfc4946fbd198aad75ea03e9734d3.tar.gz
samba-cc5502a4d01bfc4946fbd198aad75ea03e9734d3.tar.bz2
samba-cc5502a4d01bfc4946fbd198aad75ea03e9734d3.zip
allow the notify implementation to choose the select timeout change
(This used to be commit b1441d9622609af5ef598c5e1e1f5af438dc0731)
Diffstat (limited to 'source3/smbd/notify_hash.c')
-rw-r--r--source3/smbd/notify_hash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/notify_hash.c b/source3/smbd/notify_hash.c
index e01f660700..fe09d9cf9d 100644
--- a/source3/smbd/notify_hash.c
+++ b/source3/smbd/notify_hash.c
@@ -165,6 +165,7 @@ struct cnotify_fns *hash_notify_init(void)
cnotify.register_notify = hash_register_notify;
cnotify.check_notify = hash_check_notify;
cnotify.remove_notify = hash_remove_notify;
+ cnotify.select_time = lp_change_notify_timeout();
return &cnotify;
}