summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/winreg.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-20 12:28:13 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-20 12:28:13 +0200
commit29838debb3d350aaee0bf9744f1a7371b8b06736 (patch)
treedd6e6c1612d5ad6db4a209c9d5a951ec3b11f517 /source4/torture/rpc/winreg.c
parent6fb7fa8cc6c53626434530c796e532e80618253b (diff)
downloadsamba-29838debb3d350aaee0bf9744f1a7371b8b06736.tar.gz
samba-29838debb3d350aaee0bf9744f1a7371b8b06736.tar.bz2
samba-29838debb3d350aaee0bf9744f1a7371b8b06736.zip
Fix names in winreg torture tests.
Diffstat (limited to 'source4/torture/rpc/winreg.c')
-rw-r--r--source4/torture/rpc/winreg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c
index bd897f0ada..08ec8f5ea1 100644
--- a/source4/torture/rpc/winreg.c
+++ b/source4/torture/rpc/winreg.c
@@ -1396,7 +1396,7 @@ static bool test_QueryInfoKey(struct dcerpc_pipe *p,
struct policy_handle *handle, char *class)
{
struct winreg_QueryInfoKey r;
- uint32_t num_subkeys, max_subkeylen, max_subkeysize,
+ uint32_t num_subkeys, max_subkeylen, max_classlen,
num_values, max_valnamelen, max_valbufsize,
secdescsize;
NTTIME last_changed_time;
@@ -1405,7 +1405,7 @@ static bool test_QueryInfoKey(struct dcerpc_pipe *p,
r.in.handle = handle;
r.out.num_subkeys = &num_subkeys;
r.out.max_subkeylen = &max_subkeylen;
- r.out.max_subkeysize = &max_subkeysize;
+ r.out.max_classlen = &max_classlen;
r.out.num_values = &num_values;
r.out.max_valnamelen = &max_valnamelen;
r.out.max_valbufsize = &max_valbufsize;