diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-09-22 21:30:13 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-11-29 16:00:08 +0100 |
commit | 511dc9358d8954f9ef04c01fb7cc3f776625c1f2 (patch) | |
tree | 5d781d27cc69ee8159d2ad1b5ad41e3d5507409f /source4/torture/raw/oplock.c | |
parent | 13dbef241b24d54c7e8793ff81090614393d76ad (diff) | |
download | samba-511dc9358d8954f9ef04c01fb7cc3f776625c1f2.tar.gz samba-511dc9358d8954f9ef04c01fb7cc3f776625c1f2.tar.bz2 samba-511dc9358d8954f9ef04c01fb7cc3f776625c1f2.zip |
s4:torture: use tctx->ev as event context for polling
metze
Diffstat (limited to 'source4/torture/raw/oplock.c')
-rw-r--r-- | source4/torture/raw/oplock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/torture/raw/oplock.c b/source4/torture/raw/oplock.c index d3c7aae025..7b67c528a7 100644 --- a/source4/torture/raw/oplock.c +++ b/source4/torture/raw/oplock.c @@ -4133,8 +4133,7 @@ static bool oplock_handler_hold(struct smbcli_transport *transport, bool torture_hold_oplock(struct torture_context *torture, struct smbcli_state *cli) { - struct tevent_context *ev = - (struct tevent_context *)cli->transport->socket->event.ctx; + struct tevent_context *ev = torture->ev; int i; printf("Setting up open files with oplocks in %s\n", BASEDIR); |