summaryrefslogtreecommitdiff
path: root/source4/torture/basic
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-22 21:30:13 +0200
committerStefan Metzmacher <metze@samba.org>2011-11-29 16:00:08 +0100
commit511dc9358d8954f9ef04c01fb7cc3f776625c1f2 (patch)
tree5d781d27cc69ee8159d2ad1b5ad41e3d5507409f /source4/torture/basic
parent13dbef241b24d54c7e8793ff81090614393d76ad (diff)
downloadsamba-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/basic')
-rw-r--r--source4/torture/basic/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/basic/base.c b/source4/torture/basic/base.c
index cd0f61b681..519ad406fe 100644
--- a/source4/torture/basic/base.c
+++ b/source4/torture/basic/base.c
@@ -362,7 +362,7 @@ static bool run_negprot_nowait(struct torture_context *tctx)
for (i=0;i<100;i++) {
struct smbcli_request *req;
req = smb_raw_negotiate_send(cli->transport, lpcfg_unicode(tctx->lp_ctx), PROTOCOL_NT1);
- tevent_loop_once(cli->transport->socket->event.ctx);
+ tevent_loop_once(tctx->ev);
if (req->state == SMBCLI_REQUEST_ERROR) {
if (i > 0) {
torture_comment(tctx, "Failed to fill pipe packet[%d] - %s (ignored)\n", i+1, nt_errstr(req->status));