summaryrefslogtreecommitdiff
path: root/source4/torture/basic
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-05-25 15:23:55 -0400
committerSimo Sorce <idra@samba.org>2011-08-13 09:54:15 -0400
commitb120c5f28876fd9efe032a6dbecebfaaff7dfd14 (patch)
treecca3a64d3d4a96d1e49450ebeff374659ed17d2b /source4/torture/basic
parent813bdf466d1e0262c7b4bdf98343451db08c60f6 (diff)
downloadsamba-b120c5f28876fd9efe032a6dbecebfaaff7dfd14.tar.gz
samba-b120c5f28876fd9efe032a6dbecebfaaff7dfd14.tar.bz2
samba-b120c5f28876fd9efe032a6dbecebfaaff7dfd14.zip
torture: use tevent_ functions names instead of the legacy event_ ones
Diffstat (limited to 'source4/torture/basic')
-rw-r--r--source4/torture/basic/base.c2
-rw-r--r--source4/torture/basic/misc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/basic/base.c b/source4/torture/basic/base.c
index d7bac459c3..3e405f7d09 100644
--- a/source4/torture/basic/base.c
+++ b/source4/torture/basic/base.c
@@ -360,7 +360,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);
- event_loop_once(cli->transport->socket->event.ctx);
+ tevent_loop_once(cli->transport->socket->event.ctx);
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));
diff --git a/source4/torture/basic/misc.c b/source4/torture/basic/misc.c
index 5fbbc61e0f..0fa9a9e98f 100644
--- a/source4/torture/basic/misc.c
+++ b/source4/torture/basic/misc.c
@@ -997,7 +997,7 @@ bool run_benchrw(struct torture_context *tctx)
finished++;
break;
default:
- event_loop_once(ev);
+ tevent_loop_once(ev);
}
}
}