From b7e1ea20dc873a753ff64653987130f03897a4e9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 21 Aug 2004 07:43:29 +0000 Subject: r1985: take advantage of the new talloc in a few more places (This used to be commit 6ffdfd779936ce8c5ca49c5f444e8da2bbeee0a8) --- source4/torture/basic/aliases.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source4/torture') diff --git a/source4/torture/basic/aliases.c b/source4/torture/basic/aliases.c index 5da8d2643b..1cc5b3f39b 100644 --- a/source4/torture/basic/aliases.c +++ b/source4/torture/basic/aliases.c @@ -119,7 +119,7 @@ static void qfileinfo_aliases(struct smbcli_state *cli) t2.in.data = data_blob(NULL, 0); smbcli_unlink(cli->tree, fname); - fnum = create_complex_file(cli, cli->mem_ctx, fname); + fnum = create_complex_file(cli, cli, fname); if (fnum == -1) { printf("ERROR: open of %s failed (%s)\n", fname, smbcli_errstr(cli->tree)); } @@ -159,7 +159,7 @@ static void qpathinfo_aliases(struct smbcli_state *cli) t2.in.data = data_blob(NULL, 0); smbcli_unlink(cli->tree, fname); - fnum = create_complex_file(cli, cli->mem_ctx, fname); + fnum = create_complex_file(cli, cli, fname); if (fnum == -1) { printf("ERROR: open of %s failed (%s)\n", fname, smbcli_errstr(cli->tree)); } @@ -203,7 +203,7 @@ static void findfirst_aliases(struct smbcli_state *cli) t2.in.data = data_blob(NULL, 0); smbcli_unlink(cli->tree, fname); - fnum = create_complex_file(cli, cli->mem_ctx, fname); + fnum = create_complex_file(cli, cli, fname); if (fnum == -1) { printf("ERROR: open of %s failed (%s)\n", fname, smbcli_errstr(cli->tree)); } @@ -315,7 +315,7 @@ static void setfileinfo_aliases(struct smbcli_state *cli) t2.in.data = data_blob(NULL, 0); smbcli_unlink(cli->tree, fname); - fnum = create_complex_file(cli, cli->mem_ctx, fname); + fnum = create_complex_file(cli, cli, fname); if (fnum == -1) { printf("ERROR: open of %s failed (%s)\n", fname, smbcli_errstr(cli->tree)); } @@ -356,7 +356,7 @@ static void setpathinfo_aliases(struct smbcli_state *cli) smbcli_unlink(cli->tree, fname); - fnum = create_complex_file(cli, cli->mem_ctx, fname); + fnum = create_complex_file(cli, cli, fname); if (fnum == -1) { printf("ERROR: open of %s failed (%s)\n", fname, smbcli_errstr(cli->tree)); } -- cgit