summaryrefslogtreecommitdiffstats
path: root/source4/torture/rpc/dfs.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2008-04-22 16:37:54 -0400
committerSimo Sorce <idra@samba.org>2008-04-22 16:40:44 -0400
commit7f464f062899c96ebae04c899665500b998ce658 (patch)
tree28dce09b7c160db79142a26011748d7c416ff932 /source4/torture/rpc/dfs.c
parent89cac520d047581fc11c7d4a20e0508a2005c154 (diff)
downloadsamba-7f464f062899c96ebae04c899665500b998ce658.tar.gz
samba-7f464f062899c96ebae04c899665500b998ce658.tar.xz
samba-7f464f062899c96ebae04c899665500b998ce658.zip
Fix more failing tests to pass the event context.
(This used to be commit d6c5d8baf0c48a6078a47bba33993a841ff526d9)
Diffstat (limited to 'source4/torture/rpc/dfs.c')
-rw-r--r--source4/torture/rpc/dfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/dfs.c b/source4/torture/rpc/dfs.c
index 56564769229..1c81766ebe3 100644
--- a/source4/torture/rpc/dfs.c
+++ b/source4/torture/rpc/dfs.c
@@ -124,7 +124,7 @@ static bool test_CreateDir(TALLOC_CTX *mem_ctx,
{
printf("Creating directory %s\n", dir);
- if (!torture_open_connection_share(mem_ctx, cli, tctx, host, share, NULL)) {
+ if (!torture_open_connection_share(mem_ctx, cli, tctx, host, share, tctx->ev)) {
return false;
}
@@ -494,7 +494,7 @@ static void test_cleanup_stdroot(struct dcerpc_pipe *p,
test_RemoveStdRoot(p, mem_ctx, host, sharename);
test_NetShareDel(mem_ctx, tctx, host, sharename);
- torture_open_connection_share(mem_ctx, &cli, tctx, host, "C$", NULL);
+ torture_open_connection_share(mem_ctx, &cli, tctx, host, "C$", tctx->ev);
test_DeleteDir(cli, dir);
torture_close_connection(cli);
}