summaryrefslogtreecommitdiff
path: root/source4/torture/raw/context.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-08-09 03:09:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:31:33 -0500
commit2fa50ab671ba4a7e552e001f0dfde3a7cc330f8e (patch)
tree9bcfa1d68b66e662b7088a8b1cf423fc8e129b03 /source4/torture/raw/context.c
parentc0e8144c5d1e402b36ebe04b843eba62e7ab9958 (diff)
downloadsamba-2fa50ab671ba4a7e552e001f0dfde3a7cc330f8e.tar.gz
samba-2fa50ab671ba4a7e552e001f0dfde3a7cc330f8e.tar.bz2
samba-2fa50ab671ba4a7e552e001f0dfde3a7cc330f8e.zip
r9222: Rename smb_tree_connect() to smb_raw_tcon() to match other raw function
names. (This used to be commit 26b191b3c9529b2dae5d004819dab46657064408)
Diffstat (limited to 'source4/torture/raw/context.c')
-rw-r--r--source4/torture/raw/context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/raw/context.c b/source4/torture/raw/context.c
index 61747f5dc4..d76882d84d 100644
--- a/source4/torture/raw/context.c
+++ b/source4/torture/raw/context.c
@@ -289,7 +289,7 @@ static BOOL test_tree(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
tcon.tconx.in.password = data_blob(NULL, 0);
tcon.tconx.in.path = talloc_asprintf(mem_ctx, "\\\\%s\\%s", host, share);
tcon.tconx.in.device = "A:";
- status = smb_tree_connect(tree, mem_ctx, &tcon);
+ status = smb_raw_tcon(tree, mem_ctx, &tcon);
CHECK_STATUS(status, NT_STATUS_OK);
@@ -298,7 +298,7 @@ static BOOL test_tree(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
printf("try a tconx with a bad device type\n");
tcon.tconx.in.device = "FOO";
- status = smb_tree_connect(tree, mem_ctx, &tcon);
+ status = smb_raw_tcon(tree, mem_ctx, &tcon);
CHECK_STATUS(status, NT_STATUS_BAD_DEVICE_TYPE);