From 8460fc7df9cf24d44b6878789f0dc511f8f98811 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 23 Aug 2004 07:12:13 +0000 Subject: r1995: a ndrdump file from abartlet make it clear that this isn't a pointer to a uint32, there're two uint32 with 0x00000000 metze (This used to be commit 80f27766cb6d2c4e00232f7e3d5cde75ad84d094) --- source4/torture/rpc/netlogon.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source4/torture/rpc') diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c index b08be80bb0..ec7eca98bd 100644 --- a/source4/torture/rpc/netlogon.c +++ b/source4/torture/rpc/netlogon.c @@ -1573,7 +1573,6 @@ static BOOL test_GetDomainInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) struct netr_LogonGetDomainInfo r; struct netr_DomainQuery1 q1; struct netr_Authenticator a; - uint32_t i1; struct creds_CredentialState creds; if (!test_SetupCredentials3(p, mem_ctx, NETLOGON_NEG_AUTH2_ADS_FLAGS, &creds)) { @@ -1591,8 +1590,8 @@ static BOOL test_GetDomainInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) r.in.credential = &a; r.out.credential = &a; - i1 = 0; - r.in.i1 = &i1; + r.in.i1[0] = 0; + r.in.i1[1] = 0; r.in.query.query1 = &q1; ZERO_STRUCT(q1); -- cgit