summaryrefslogtreecommitdiffstats
path: root/source4/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-01-14 12:27:10 +0100
committerGünther Deschner <gd@samba.org>2014-01-16 16:22:52 +0100
commit16f4f2f0c758c09d369c44ced60c68860431263a (patch)
treec2e3d9a9922f9ebf5c191dc76171eac46376c0f3 /source4/torture
parent124a89698b9eb6d77405ba3ee51c52dad32f9f95 (diff)
downloadsamba-16f4f2f0c758c09d369c44ced60c68860431263a.tar.gz
samba-16f4f2f0c758c09d369c44ced60c68860431263a.tar.xz
samba-16f4f2f0c758c09d369c44ced60c68860431263a.zip
s4:torture/libnet: remove bogus usage of p->conn->event_ctx
ctx->event_ctx and p->conn->event_ctx already have the same value as torture->ev. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/libnet/libnet_domain.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source4/torture/libnet/libnet_domain.c b/source4/torture/libnet/libnet_domain.c
index 142b6e9f61..077d6a9f63 100644
--- a/source4/torture/libnet/libnet_domain.c
+++ b/source4/torture/libnet/libnet_domain.c
@@ -218,9 +218,6 @@ bool torture_domain_close_lsa(struct torture_context *torture)
ctx->lsa.name = domain_name.string;
ctx->lsa.access_mask = access_mask;
ctx->lsa.handle = h;
- /* we have to use pipe's event context, otherwise the call will
- hang indefinitely */
- ctx->event_ctx = p->conn->event_ctx;
ZERO_STRUCT(r);
r.in.type = DOMAIN_LSA;
@@ -348,10 +345,6 @@ bool torture_domain_close_samr(struct torture_context *torture)
ctx->samr.access_mask = access_mask;
ctx->samr.handle = h;
ctx->samr.sid = talloc_steal(ctx, sid);
- /* we have to use pipe's event context, otherwise the call will
- hang indefinitely - this wouldn't be the case if pipe was opened
- by means of libnet call */
- ctx->event_ctx = p->conn->event_ctx;
ZERO_STRUCT(r);
r.in.type = DOMAIN_SAMR;