summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-03-17 12:05:42 +0100
committerStefan Metzmacher <metze@samba.org>2010-03-17 18:26:21 +0100
commit6e8fd4df6078cb426a1a9233f796532590c2387f (patch)
tree4c488ac30627b10f802de389b9b6032a5ffe25e1 /source4/torture
parentaecd9dd19573b2b27a301d3aca2ed201b9c3b8ce (diff)
downloadsamba-6e8fd4df6078cb426a1a9233f796532590c2387f.tar.gz
samba-6e8fd4df6078cb426a1a9233f796532590c2387f.tar.bz2
samba-6e8fd4df6078cb426a1a9233f796532590c2387f.zip
s4:torture/rpc/bench.c: make use of dcerpc_binding_handle stubs
metze
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/bench.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/rpc/bench.c b/source4/torture/rpc/bench.c
index 0c7477c454..74fb9397b2 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;