summaryrefslogtreecommitdiff
path: root/source4/torture/local/resolve.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/local/resolve.c')
-rw-r--r--source4/torture/local/resolve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/local/resolve.c b/source4/torture/local/resolve.c
index 21a7392a14..d3bae21184 100644
--- a/source4/torture/local/resolve.c
+++ b/source4/torture/local/resolve.c
@@ -35,7 +35,7 @@ static bool test_async_resolve(struct torture_context *tctx)
struct timeval tv = timeval_current();
TALLOC_CTX *mem_ctx = tctx;
- ev = event_context_init(mem_ctx);
+ ev = tctx->ev;
ZERO_STRUCT(n);
n.name = host;