summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-04-06 10:55:55 +0200
committerGünther Deschner <gd@samba.org>2010-04-06 10:56:55 +0200
commit12bd7a1230c850856aa0bff8f1538bd3642469c6 (patch)
treedbe81d0cc6d2a33040625849490f486cba7efc90 /source4/torture
parent15531d9df1326a7111363b8d3540985d09027221 (diff)
downloadsamba-12bd7a1230c850856aa0bff8f1538bd3642469c6.tar.gz
samba-12bd7a1230c850856aa0bff8f1538bd3642469c6.tar.bz2
samba-12bd7a1230c850856aa0bff8f1538bd3642469c6.zip
s4-smbtorture: fix two context arguments in RPC-SAMSYNC test.
Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/samsync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/samsync.c b/source4/torture/rpc/samsync.c
index 4ec98e7e50..dcb1c4b0f7 100644
--- a/source4/torture/rpc/samsync.c
+++ b/source4/torture/rpc/samsync.c
@@ -778,7 +778,7 @@ static bool samsync_handle_alias(struct torture_context *tctx,
torture_assert_ntstatus_ok(tctx,
dcerpc_samr_QueryAliasInfo_r(samsync_state->b_samr, mem_ctx, &q),
"QueryAliasInfo failed");
- if (!test_samr_handle_Close(samsync_state->b_samr, mem_ctx, &alias_handle)) {
+ if (!test_samr_handle_Close(samsync_state->b_samr, tctx, &alias_handle)) {
return false;
}
@@ -831,7 +831,7 @@ static bool samsync_handle_group(struct torture_context *tctx,
torture_assert_ntstatus_ok(tctx,
dcerpc_samr_QueryGroupInfo_r(samsync_state->b_samr, mem_ctx, &q),
"QueryGroupInfo failed");
- if (!test_samr_handle_Close(samsync_state->b_samr, mem_ctx, &group_handle)) {
+ if (!test_samr_handle_Close(samsync_state->b_samr, tctx, &group_handle)) {
return false;
}