diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/smb2_lock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/smb2_lock.c b/source3/smbd/smb2_lock.c index 4f88bb832b..3bd7686ece 100644 --- a/source3/smbd/smb2_lock.c +++ b/source3/smbd/smb2_lock.c @@ -561,8 +561,8 @@ static bool recalc_smb2_brl_timeout(struct smbd_server_connection *sconn) (int)from_now.tv_sec, (int)from_now.tv_usec)); } - sconn->smb2.locks.brl_timeout = event_add_timed( - server_event_context(), + sconn->smb2.locks.brl_timeout = tevent_add_timer( + sconn->ev_ctx, NULL, next_timeout, brl_timeout_fn, |