diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-09-22 21:30:13 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-11-24 19:02:33 +0100 |
commit | 378c21a72a2d4727b10fd871c43d61792ada0625 (patch) | |
tree | f1b28349d18f84d26edf66bf9f99ccea34b09952 /source4/torture/smb2/oplock.c | |
parent | a312a8c788385faf0d179a36ce226503a612943e (diff) | |
download | samba-378c21a72a2d4727b10fd871c43d61792ada0625.tar.gz samba-378c21a72a2d4727b10fd871c43d61792ada0625.tar.bz2 samba-378c21a72a2d4727b10fd871c43d61792ada0625.zip |
s4:torture/smb2: use tctx->ev as event context for polling
metze
Diffstat (limited to 'source4/torture/smb2/oplock.c')
-rw-r--r-- | source4/torture/smb2/oplock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/torture/smb2/oplock.c b/source4/torture/smb2/oplock.c index 5b12e135b7..d489943986 100644 --- a/source4/torture/smb2/oplock.c +++ b/source4/torture/smb2/oplock.c @@ -3582,8 +3582,7 @@ bool test_smb2_hold_oplock(struct torture_context *tctx, struct smb2_tree *tree) { struct torture_context *mem_ctx = talloc_new(tctx); - struct tevent_context *ev = - (struct tevent_context *)tree->session->transport->socket->event.ctx; + struct tevent_context *ev = tctx->ev; int i; struct smb2_handle h; NTSTATUS status; |