summaryrefslogtreecommitdiff
path: root/source4/torture/ndr/winreg.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-20 15:53:24 +0200
committerGünther Deschner <gd@samba.org>2008-10-20 15:53:24 +0200
commite08e5a0f3fa58a08532bb6d9a613985305e31c4f (patch)
tree274d290243a2918a7a7efbcd7cf7b583cb72f66f /source4/torture/ndr/winreg.c
parent61db229c08a601780da09ee4f2f4f1eb32ec3aa0 (diff)
downloadsamba-e08e5a0f3fa58a08532bb6d9a613985305e31c4f.tar.gz
samba-e08e5a0f3fa58a08532bb6d9a613985305e31c4f.tar.bz2
samba-e08e5a0f3fa58a08532bb6d9a613985305e31c4f.zip
Revert "s4: fix the build after winreg idl changes."
This reverts commit 61db229c08a601780da09ee4f2f4f1eb32ec3aa0.
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 60a3230d25..de804b7721 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;
}