Remove more event_context_init() uses from function calls within deep down the code.
[jelmer/samba4.git] / source / torture / ldap / common.c
index 65b02ed5e8e1fea277b73d546fbdc4eee68bac87..5913163822a01fb6409fd7242987ff21e590b757 100644 (file)
@@ -65,7 +65,7 @@ NTSTATUS torture_ldap_connection(struct torture_context *tctx,
                return NT_STATUS_INVALID_PARAMETER;
        }
 
-       *conn = ldap4_new_connection(tctx, tctx->lp_ctx, NULL);
+       *conn = ldap4_new_connection(tctx, tctx->lp_ctx, tctx->ev);
 
        status = ldap_connect(*conn, url);
        if (!NT_STATUS_IS_OK(status)) {