summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-12-09 07:05:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:27 -0500
commitaad22cabbf52c2d5cea9ee80fa8e1960944f9d7e (patch)
tree3a06122c01f7878cb7df1033c0ea865bccc4dfe9 /source4/torture/rpc
parent74eb0017be0e89df7c0ce0a18a7042dc7d06bfdb (diff)
downloadsamba-aad22cabbf52c2d5cea9ee80fa8e1960944f9d7e.tar.gz
samba-aad22cabbf52c2d5cea9ee80fa8e1960944f9d7e.tar.bz2
samba-aad22cabbf52c2d5cea9ee80fa8e1960944f9d7e.zip
r4111: fixed winreg to use much simpler (and I believe correct) IDL for QueryValue
(This used to be commit 659d0295314c6a070698fc81223044f4d7366993)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/winreg.c7
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)) {