diff options
Diffstat (limited to 'source4/torture/torture_util.c')
-rw-r--r-- | source4/torture/torture_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/torture_util.c b/source4/torture/torture_util.c index 2dea3039aa..27c2892c47 100644 --- a/source4/torture/torture_util.c +++ b/source4/torture/torture_util.c @@ -39,7 +39,7 @@ double end_timer(void) /* create a directory, returning a handle to it */ -int create_directory_handle(struct cli_state *cli, const char *dname) +int create_directory_handle(struct cli_tree *tree, const char *dname) { NTSTATUS status; union smb_open io; @@ -60,7 +60,7 @@ int create_directory_handle(struct cli_state *cli, const char *dname) io.ntcreatex.in.security_flags = 0; io.ntcreatex.in.fname = dname; - status = smb_raw_open(cli->tree, mem_ctx, &io); + status = smb_raw_open(tree, mem_ctx, &io); if (!NT_STATUS_IS_OK(status)) { talloc_destroy(mem_ctx); return -1; |