From 97823b69e9624a1cd59a42fe4c6a6e14896b7ae7 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 2 Feb 2012 13:39:56 +0100 Subject: s4:libcli/torture:smb2: change smb2_tree_connect to take a smb2_session instead of smb2_tree arguement. Only the tree->session is needed. This way it is less confusing. Pair-Programmed-With: Stefan Metzmacher --- source4/torture/smb2/notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/smb2') diff --git a/source4/torture/smb2/notify.c b/source4/torture/smb2/notify.c index 070af0de9e..e4e26365e3 100644 --- a/source4/torture/smb2/notify.c +++ b/source4/torture/smb2/notify.c @@ -1812,7 +1812,7 @@ static struct smb2_tree *secondary_tcon(struct smb2_tree *tree, ZERO_STRUCT(tcon.smb2); tcon.generic.level = RAW_TCON_SMB2; tcon.smb2.in.path = talloc_asprintf(tctx, "\\\\%s\\%s", host, share); - status = smb2_tree_connect(tree, &(tcon.smb2)); + status = smb2_tree_connect(tree->session, &(tcon.smb2)); if (!NT_STATUS_IS_OK(status)) { talloc_free(tree1); torture_comment(tctx,"Failed to create secondary tree\n"); -- cgit