diff options
author | Simo Sorce <ssorce@redhat.com> | 2010-05-25 15:23:55 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2011-08-13 09:54:15 -0400 |
commit | b120c5f28876fd9efe032a6dbecebfaaff7dfd14 (patch) | |
tree | cca3a64d3d4a96d1e49450ebeff374659ed17d2b /source4/torture/rpc/schannel.c | |
parent | 813bdf466d1e0262c7b4bdf98343451db08c60f6 (diff) | |
download | samba-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/rpc/schannel.c')
-rw-r--r-- | source4/torture/rpc/schannel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/rpc/schannel.c b/source4/torture/rpc/schannel.c index 245f33c991..3bfed696e8 100644 --- a/source4/torture/rpc/schannel.c +++ b/source4/torture/rpc/schannel.c @@ -763,8 +763,8 @@ bool torture_rpc_schannel_bench1(struct torture_context *torture) } while (NT_STATUS_IS_OK(s->error) && s->nprocs != s->nconns) { - int ev_ret = event_loop_once(torture->ev); - torture_assert(torture, ev_ret == 0, "event_loop_once failed"); + int ev_ret = tevent_loop_once(torture->ev); + torture_assert(torture, ev_ret == 0, "tevent_loop_once failed"); #endif } torture_assert_ntstatus_ok(torture, s->error, "Failed establish a connect"); @@ -851,8 +851,8 @@ bool torture_rpc_schannel_bench1(struct torture_context *torture) end = timeval_add(&start, s->timelimit, 0); while (NT_STATUS_IS_OK(s->error) && !timeval_expired(&end)) { - int ev_ret = event_loop_once(torture->ev); - torture_assert(torture, ev_ret == 0, "event_loop_once failed"); + int ev_ret = tevent_loop_once(torture->ev); + torture_assert(torture, ev_ret == 0, "tevent_loop_once failed"); } torture_assert_ntstatus_ok(torture, s->error, "Failed some request"); s->stopped = true; |