diff options
Diffstat (limited to 'source4/torture/rpc/winreg.c')
-rw-r--r-- | source4/torture/rpc/winreg.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c index ebadbc87e2..592f2ff86a 100644 --- a/source4/torture/rpc/winreg.c +++ b/source4/torture/rpc/winreg.c @@ -304,11 +304,8 @@ static BOOL test_QueryValue(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct p r.in.handle = handle; r.in.value_name.name = valuename; r.in.type = &zero; - r.in.unknown1 = 0; - r.in.unknown2 = 0; - r.in.offered = &offered; - r.in.value_len1 = &offered; - r.in.value_len2 = &zero; + r.in.size = &offered; + r.in.length = &zero; status = dcerpc_winreg_QueryValue(p, mem_ctx, &r); if(NT_STATUS_IS_ERR(status)) { |