r4726: - use the name tcon and tid instead of conn and cnum
[kai/samba.git] / source4 / torture / raw / context.c
index d0a948c401a4abe583cf89679344aff64902c3f7..20b93792dfe716bbab79c9743297447333c17836 100644 (file)
@@ -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");