summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-20 15:47:46 +0200
committerGünther Deschner <gd@samba.org>2008-10-20 15:47:46 +0200
commit61db229c08a601780da09ee4f2f4f1eb32ec3aa0 (patch)
tree31662876c8e63ea5193f19fe0774687f99450d85
parent93e52145a887b1865d41ae5272047423bbfb33b3 (diff)
downloadsamba-61db229c08a601780da09ee4f2f4f1eb32ec3aa0.tar.gz
samba-61db229c08a601780da09ee4f2f4f1eb32ec3aa0.tar.bz2
samba-61db229c08a601780da09ee4f2f4f1eb32ec3aa0.zip
s4: fix the build after winreg idl changes.
Guenther
-rw-r--r--source4/lib/registry/rpc.c4
-rw-r--r--source4/torture/ndr/winreg.c2
-rw-r--r--source4/torture/rpc/winreg.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/source4/lib/registry/rpc.c b/source4/lib/registry/rpc.c
index 3a16ae1db5..bcf5c8dad4 100644
--- a/source4/lib/registry/rpc.c
+++ b/source4/lib/registry/rpc.c
@@ -32,7 +32,7 @@ struct rpc_key {
const char* classname;
uint32_t num_subkeys;
uint32_t max_subkeylen;
- uint32_t max_classlen;
+ uint32_t max_subkeysize;
uint32_t num_values;
uint32_t max_valnamelen;
uint32_t max_valbufsize;
@@ -380,7 +380,7 @@ static WERROR rpc_query_key(TALLOC_CTX *mem_ctx, const struct registry_key *k)
r.out.classname = &classname;
r.out.num_subkeys = &mykeydata->num_subkeys;
r.out.max_subkeylen = &mykeydata->max_subkeylen;
- r.out.max_classlen = &mykeydata->max_classlen;
+ r.out.max_subkeysize = &mykeydata->max_subkeysize;
r.out.num_values = &mykeydata->num_values;
r.out.max_valnamelen = &mykeydata->max_valnamelen;
r.out.max_valbufsize = &mykeydata->max_valbufsize;
diff --git a/source4/torture/ndr/winreg.c b/source4/torture/ndr/winreg.c
index de804b7721..60a3230d25 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_classlen, 140, "subkey size");
+ torture_assert_int_equal(tctx, *r->out.max_subkeysize, 140, "subkey size");
torture_assert_werr_ok(tctx, r->out.result, "return code");
return true;
}
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c
index 08ec8f5ea1..bd897f0ada 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_classlen,
+ uint32_t num_subkeys, max_subkeylen, max_subkeysize,
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_classlen = &max_classlen;
+ r.out.max_subkeysize = &max_subkeysize;
r.out.num_values = &num_values;
r.out.max_valnamelen = &max_valnamelen;
r.out.max_valbufsize = &max_valbufsize;