From b120c5f28876fd9efe032a6dbecebfaaff7dfd14 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 25 May 2010 15:23:55 -0400 Subject: torture: use tevent_ functions names instead of the legacy event_ ones --- source4/torture/basic/base.c | 2 +- source4/torture/basic/misc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture/basic') 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); } } } -- cgit