From 5c13a90abebbd9f23c4e426b2f52c7440aa49586 Mon Sep 17 00:00:00 2001 From: Tim Prouty Date: Tue, 15 Dec 2009 17:17:48 -0800 Subject: s4 torture: close handle instead of using exit --- source4/torture/raw/rename.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture') diff --git a/source4/torture/raw/rename.c b/source4/torture/raw/rename.c index 7c9d15b534..187645f964 100644 --- a/source4/torture/raw/rename.c +++ b/source4/torture/raw/rename.c @@ -305,7 +305,7 @@ static bool test_ntrename(struct torture_context *tctx, status = smb_raw_rename(cli->tree, &io); CHECK_STATUS(status, NT_STATUS_SHARING_VIOLATION); - smb_raw_exit(cli->session); + smbcli_close(cli->tree, fnum); status = smb_raw_rename(cli->tree, &io); CHECK_STATUS(status, NT_STATUS_OK); -- cgit