summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/winreg.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-03-16 11:45:51 +0100
committerStefan Metzmacher <metze@samba.org>2010-03-16 15:35:31 +0100
commitc1bf3244df7ca5261e9b649588f5587dab3f486d (patch)
tree186c473aa8757e85c265b7c3fc00873d1ee7ce97 /source4/torture/rpc/winreg.c
parent28a6e5398d762b4ad69e9e3d5be6677746057538 (diff)
downloadsamba-c1bf3244df7ca5261e9b649588f5587dab3f486d.tar.gz
samba-c1bf3244df7ca5261e9b649588f5587dab3f486d.tar.bz2
samba-c1bf3244df7ca5261e9b649588f5587dab3f486d.zip
s4:torture/rpc/spoolss.c: make use of dcerpc_binding_handle stubs
metze
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 e8d094387f..a85fdde183 100644
--- a/source4/torture/rpc/winreg.c
+++ b/source4/torture/rpc/winreg.c
@@ -1910,7 +1910,7 @@ static bool test_SetValue_simple(struct dcerpc_pipe *p,
test_QueryValue_full(p, tctx, handle, value_name, true),
talloc_asprintf(tctx, "test_QueryValue_full for %s value failed", value_name));
torture_assert(tctx,
- test_winreg_QueryValue(tctx, p, handle, value_name, &w_type, &w_size, &w_length, &w_data),
+ test_winreg_QueryValue(tctx, p->binding_handle, handle, value_name, &w_type, &w_size, &w_length, &w_data),
"test_winreg_QueryValue failed");
torture_assert(tctx,
test_DeleteValue(p, tctx, handle, value_name),
@@ -2053,7 +2053,7 @@ static bool test_SetValue_extended(struct dcerpc_pipe *p,
"test_SetValue failed");
torture_assert(tctx,
- test_winreg_QueryValue(tctx, p, handle, value_name, &w_type, &w_size, &w_length, &w_data),
+ test_winreg_QueryValue(tctx, p->binding_handle, handle, value_name, &w_type, &w_size, &w_length, &w_data),
"test_winreg_QueryValue failed");
torture_assert(tctx,