From aad22cabbf52c2d5cea9ee80fa8e1960944f9d7e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 9 Dec 2004 07:05:47 +0000 Subject: r4111: fixed winreg to use much simpler (and I believe correct) IDL for QueryValue (This used to be commit 659d0295314c6a070698fc81223044f4d7366993) --- source4/torture/rpc/winreg.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'source4/torture/rpc') 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)) { -- cgit