summaryrefslogtreecommitdiff
path: root/source4/torture/smb2/lock.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-22 21:30:13 +0200
committerStefan Metzmacher <metze@samba.org>2011-11-24 19:02:33 +0100
commit378c21a72a2d4727b10fd871c43d61792ada0625 (patch)
treef1b28349d18f84d26edf66bf9f99ccea34b09952 /source4/torture/smb2/lock.c
parenta312a8c788385faf0d179a36ce226503a612943e (diff)
downloadsamba-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/lock.c')
-rw-r--r--source4/torture/smb2/lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/smb2/lock.c b/source4/torture/smb2/lock.c
index aee82929c1..3691830ce4 100644
--- a/source4/torture/smb2/lock.c
+++ b/source4/torture/smb2/lock.c
@@ -62,7 +62,7 @@
#define WAIT_FOR_ASYNC_RESPONSE(req) \
while (!req->cancel.can_cancel && req->state <= SMB2_REQUEST_RECV) { \
- if (tevent_loop_once(req->transport->socket->event.ctx) != 0) { \
+ if (tevent_loop_once(torture->ev) != 0) { \
break; \
} \
}