diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/blocking.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/blocking.c b/source3/smbd/blocking.c index d9c1fb2d3b..f07a79259f 100644 --- a/source3/smbd/blocking.c +++ b/source3/smbd/blocking.c @@ -139,9 +139,9 @@ static bool recalc_brl_timeout(struct smbd_server_connection *sconn) (int)from_now.tv_sec, (int)from_now.tv_usec)); } - sconn->smb1.locks.brl_timeout = event_add_timed(server_event_context(), - NULL, next_timeout, - brl_timeout_fn, sconn); + sconn->smb1.locks.brl_timeout = tevent_add_timer(sconn->ev_ctx, + NULL, next_timeout, + brl_timeout_fn, sconn); if (sconn->smb1.locks.brl_timeout == NULL) { return False; } |