summaryrefslogtreecommitdiff
path: root/source4/torture/raw
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-01-13 18:49:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:08:48 -0500
commit592fce7fb149ca5e82b14d9c8f13a4da1babe2b7 (patch)
tree6f5dba2cceef394c88ed052dab86dd355c21ec01 /source4/torture/raw
parentada17c6794da2988fea7e800c60ca7e83d23eb7e (diff)
downloadsamba-592fce7fb149ca5e82b14d9c8f13a4da1babe2b7.tar.gz
samba-592fce7fb149ca5e82b14d9c8f13a4da1babe2b7.tar.bz2
samba-592fce7fb149ca5e82b14d9c8f13a4da1babe2b7.zip
r4726: - use the name tcon and tid instead of conn and cnum
- make use of talloc destructors metze (This used to be commit 8308da6ce4a95f8c10e22949ef00e9e64f2dbb85)
Diffstat (limited to 'source4/torture/raw')
-rw-r--r--source4/torture/raw/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/context.c b/source4/torture/raw/context.c
index d0a948c401..20b93792df 100644
--- a/source4/torture/raw/context.c
+++ b/source4/torture/raw/context.c
@@ -229,7 +229,7 @@ static BOOL test_tree(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
status = smb_tree_connect(tree, mem_ctx, &tcon);
CHECK_STATUS(status, NT_STATUS_OK);
- tree->tid = tcon.tconx.out.cnum;
+ tree->tid = tcon.tconx.out.tid;
printf("tid1=%d tid2=%d\n", cli->tree->tid, tree->tid);
printf("try a tconx with a bad device type\n");