diff options
author | Günther Deschner <gd@samba.org> | 2008-11-27 09:44:51 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-11-27 18:19:44 +0100 |
commit | 5aebfd9086eead8aad526827661ab10679414891 (patch) | |
tree | f72e3e2deda34ae7423f48194325dd27d654e422 /source4/torture | |
parent | 114f519233cd37bfd623db820e888469c75fab26 (diff) | |
download | samba-5aebfd9086eead8aad526827661ab10679414891.tar.gz samba-5aebfd9086eead8aad526827661ab10679414891.tar.bz2 samba-5aebfd9086eead8aad526827661ab10679414891.zip |
s4-smbtorture: fix some build warnings.
Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/svcctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |