From 5aebfd9086eead8aad526827661ab10679414891 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 27 Nov 2008 09:44:51 +0100 Subject: s4-smbtorture: fix some build warnings. Guenther --- source4/torture/rpc/svcctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/torture') diff --git a/source4/torture/rpc/svcctl.c b/source4/torture/rpc/svcctl.c index 0e440a3621..8d8f43a0cf 100644 --- a/source4/torture/rpc/svcctl.c +++ b/source4/torture/rpc/svcctl.c @@ -91,7 +91,7 @@ static bool test_QueryServiceStatusEx(struct torture_context *tctx, struct dcerp buffer = talloc(tctx, uint8_t); r.in.handle = &s; - r.in.info_level = 0; + r.in.info_level = info_level; r.in.buf_size = buf_size; r.out.buffer = buffer; r.out.bytes_needed = &bytes_needed; @@ -124,7 +124,7 @@ static bool test_QueryServiceConfig2W(struct torture_context *tctx, struct dcerp struct policy_handle h, s; NTSTATUS status; - uint32_t info_level = 0; + uint32_t info_level = 1; uint8_t *buffer; uint32_t buf_size = 0; uint32_t bytes_needed = 0; @@ -138,7 +138,7 @@ static bool test_QueryServiceConfig2W(struct torture_context *tctx, struct dcerp buffer = talloc(tctx, uint8_t); r.in.handle = &s; - r.in.info_level = 1; + r.in.info_level = info_level; r.in.buf_size = buf_size; r.out.buffer = buffer; r.out.bytes_needed = &bytes_needed; -- cgit