summaryrefslogtreecommitdiff
path: root/source4/torture/ndr/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/ndr/winreg.c
parent6fb7fa8cc6c53626434530c796e532e80618253b (diff)
downloadsamba-29838debb3d350aaee0bf9744f1a7371b8b06736.tar.gz
Fix names in winreg torture tests.
Diffstat (limited to 'source4/torture/ndr/winreg.c')
-rw-r--r--source4/torture/ndr/winreg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/ndr/winreg.c b/source4/torture/ndr/winreg.c
index 60a3230d257..de804b77218 100644
--- a/source4/torture/ndr/winreg.c
+++ b/source4/torture/ndr/winreg.c
@@ -417,7 +417,7 @@ static bool queryinfokey_out_check(struct torture_context *tctx, struct winreg_Q
torture_assert_str_equal(tctx, r->out.classname->name, "", "class out name");
torture_assert_int_equal(tctx, *r->out.num_subkeys, 0, "num subkeys");
torture_assert_int_equal(tctx, *r->out.max_subkeylen, 0, "subkey length");
- torture_assert_int_equal(tctx, *r->out.max_subkeysize, 140, "subkey size");
+ torture_assert_int_equal(tctx, *r->out.max_classlen, 140, "subkey size");
torture_assert_werr_ok(tctx, r->out.result, "return code");
return true;
}