From 690df3ccd98c586610cc5e528b05f7863b334a3c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 3 Apr 2007 22:43:35 +0000 Subject: r22063: Fix the RPC-EPMAPPER test. (This used to be commit 101cdd1ec1933874e3cb961f4eb365cbd31a728a) --- source4/torture/rpc/epmapper.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/torture/rpc/epmapper.c') diff --git a/source4/torture/rpc/epmapper.c b/source4/torture/rpc/epmapper.c index 51914aa614..224a9e4ffa 100644 --- a/source4/torture/rpc/epmapper.c +++ b/source4/torture/rpc/epmapper.c @@ -49,6 +49,7 @@ static BOOL test_Map(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct policy_handle handle; int i; struct dcerpc_syntax_id syntax; + uint32_t num_towers; ZERO_STRUCT(uuid); ZERO_STRUCT(handle); @@ -58,6 +59,7 @@ static BOOL test_Map(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, r.in.entry_handle = &handle; r.out.entry_handle = &handle; r.in.max_towers = 100; + r.out.num_towers = &num_towers; dcerpc_floor_get_lhs_data(&twr->tower.floors[0], &syntax); @@ -140,6 +142,7 @@ static BOOL test_Lookup(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) struct GUID uuid; struct rpc_if_id_t iface; struct policy_handle handle; + uint32_t num_ents; ZERO_STRUCT(handle); @@ -150,6 +153,7 @@ static BOOL test_Lookup(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) r.in.entry_handle = &handle; r.out.entry_handle = &handle; r.in.max_ents = 10; + r.out.num_ents = &num_ents; do { int i; -- cgit