diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-04-17 01:19:20 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-04-17 01:19:20 +0200 |
commit | 06d06c6c9415140167708d09307125067c1f5b87 (patch) | |
tree | 35085314859e78dd9ebfd3ee6093a353931f0f0e /source4/torture/ldap | |
parent | f875669314ce1398367b85f962941dacef6fc828 (diff) | |
download | samba-06d06c6c9415140167708d09307125067c1f5b87.tar.gz samba-06d06c6c9415140167708d09307125067c1f5b87.tar.bz2 samba-06d06c6c9415140167708d09307125067c1f5b87.zip |
Use provided event context rather than looking for it.
(This used to be commit fd0bb96acea3d7949cf0574bb6f3568a90f67f4e)
Diffstat (limited to 'source4/torture/ldap')
-rw-r--r-- | source4/torture/ldap/cldapbench.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/ldap/cldapbench.c b/source4/torture/ldap/cldapbench.c index 83e505e164..51586ac733 100644 --- a/source4/torture/ldap/cldapbench.c +++ b/source4/torture/ldap/cldapbench.c @@ -116,7 +116,7 @@ bool torture_bench_cldap(struct torture_context *torture) make_nbt_name_server(&name, torture_setting_string(torture, "host", NULL)); /* do an initial name resolution to find its IP */ - status = resolve_name(lp_resolve_context(torture->lp_ctx), &name, torture, &address, event_context_find(torture)); + status = resolve_name(lp_resolve_context(torture->lp_ctx), &name, torture, &address, torture->ev); if (!NT_STATUS_IS_OK(status)) { printf("Failed to resolve %s - %s\n", name.name, nt_errstr(status)); |