From 6e8fd4df6078cb426a1a9233f796532590c2387f Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 17 Mar 2010 12:05:42 +0100 Subject: [PATCH] s4:torture/rpc/bench.c: make use of dcerpc_binding_handle stubs metze --- source4/torture/rpc/bench.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source4/torture/rpc/bench.c b/source4/torture/rpc/bench.c index 0c7477c454f..74fb9397b2f 100644 --- a/source4/torture/rpc/bench.c +++ b/source4/torture/rpc/bench.c @@ -41,6 +41,7 @@ static bool test_NetShareEnumAll(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) int i; bool ret = true; uint32_t resume_handle; + struct dcerpc_binding_handle *b = p->binding_handle; ZERO_STRUCT(info_ctr); @@ -79,7 +80,7 @@ static bool test_NetShareEnumAll(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) break; } - status = dcerpc_srvsvc_NetShareEnumAll(p, mem_ctx, &r); + status = dcerpc_srvsvc_NetShareEnumAll_r(b, mem_ctx, &r); if (!NT_STATUS_IS_OK(status)) { printf("NetShareEnumAll level %u failed - %s\n", info_ctr.level, nt_errstr(status)); ret = false;