summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-12-12 13:49:29 +0100
committerStefan Metzmacher <metze@samba.org>2011-12-12 14:35:43 +0100
commit7081d7e78fd83acff6bfe743e1cb554fa382c65d (patch)
tree6181a5dd74a714cccbd53cde6682ccf37a1cb3b1 /source3
parente7a100200bf19655f7ebc100ff13ba6d4adfca78 (diff)
downloadsamba-7081d7e78fd83acff6bfe743e1cb554fa382c65d.tar.gz
samba-7081d7e78fd83acff6bfe743e1cb554fa382c65d.tar.bz2
samba-7081d7e78fd83acff6bfe743e1cb554fa382c65d.zip
s3:smb2_lock: avoid using server_event_context()
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/smb2_lock.c4
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,