diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-06-14 07:11:27 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-06-14 07:11:27 +0000 |
commit | cc5502a4d01bfc4946fbd198aad75ea03e9734d3 (patch) | |
tree | 0f2ed7048c5c403f8bf90e3e259d7aa907f2cc3c /source3/smbd/notify.c | |
parent | 1896c721fbd01b6d1f95b05350010c17fccbf612 (diff) | |
download | samba-cc5502a4d01bfc4946fbd198aad75ea03e9734d3.tar.gz samba-cc5502a4d01bfc4946fbd198aad75ea03e9734d3.tar.xz 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.c')
-rw-r--r-- | source3/smbd/notify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index c577d0aef32..912ab43e9ee 100644 --- a/source3/smbd/notify.c +++ b/source3/smbd/notify.c @@ -144,9 +144,9 @@ void remove_pending_change_notify_requests_by_filename(files_struct *fsp) /**************************************************************************** Return true if there are pending change notifies. ****************************************************************************/ -BOOL change_notifies_pending(void) +int change_notify_timeout(void) { - return (change_notify_list != NULL); + return cnotify->select_time; } /**************************************************************************** |