diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-15 17:38:51 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-15 17:38:51 +0200 |
commit | ada0e343b2225471a8e623aca7d9aa314857af6c (patch) | |
tree | 13edb511f0a28f2db3da723485bc4bfdfb18cad0 /source4/torture | |
parent | fed4658c1bb7112b32653cbb4ce1856d6fbc7b34 (diff) | |
download | samba-ada0e343b2225471a8e623aca7d9aa314857af6c.tar.gz samba-ada0e343b2225471a8e623aca7d9aa314857af6c.tar.bz2 samba-ada0e343b2225471a8e623aca7d9aa314857af6c.zip |
Sync parameter names with samba 3.
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/ndr/winreg.c | 8 | ||||
-rw-r--r-- | source4/torture/rpc/winreg.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/source4/torture/ndr/winreg.c b/source4/torture/ndr/winreg.c index 1bfe50e740..60a3230d25 100644 --- a/source4/torture/ndr/winreg.c +++ b/source4/torture/ndr/winreg.c @@ -199,8 +199,8 @@ static bool queryvalue_in_check(struct torture_context *tctx, { torture_assert_str_equal(tctx, r->in.value_name->name, "HOMEPATH", "name"); torture_assert_int_equal(tctx, *r->in.type, 0, "type"); - torture_assert_int_equal(tctx, *r->in.size, 4095, "size"); - torture_assert_int_equal(tctx, *r->in.length, 0, "length"); + torture_assert_int_equal(tctx, *r->in.data_size, 4095, "size"); + torture_assert_int_equal(tctx, *r->in.data_length, 0, "length"); torture_assert(tctx, r->in.data == NULL, "data pointer"); return true; @@ -218,8 +218,8 @@ static bool queryvalue_out_check(struct torture_context *tctx, torture_assert_werr_ok(tctx, r->out.result, "return code"); torture_assert_int_equal(tctx, *r->out.type, 1, "type"); torture_assert(tctx, r->out.data == NULL, "data pointer"); - torture_assert_int_equal(tctx, *r->out.size, 76, "size"); - torture_assert_int_equal(tctx, *r->out.length, 0, "length"); + torture_assert_int_equal(tctx, *r->out.data_size, 76, "size"); + torture_assert_int_equal(tctx, *r->out.data_length, 0, "length"); return true; } diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c index 759e9e6528..bd897f0ada 100644 --- a/source4/torture/rpc/winreg.c +++ b/source4/torture/rpc/winreg.c @@ -1542,8 +1542,8 @@ static bool test_QueryValue(struct dcerpc_pipe *p, r.in.value_name = talloc_zero(tctx, struct winreg_String); r.in.value_name->name = valuename; r.in.type = &zero_type; - r.in.size = &offered; - r.in.length = &zero; + r.in.data_size = &offered; + r.in.data_length = &zero; status = dcerpc_winreg_QueryValue(p, tctx, &r); if (NT_STATUS_IS_ERR(status)) { |