diff options
author | Tim Prouty <tprouty@samba.org> | 2009-12-15 17:17:48 -0800 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-12-17 17:58:34 -0800 |
commit | 5c13a90abebbd9f23c4e426b2f52c7440aa49586 (patch) | |
tree | ef334fa78eff3d69d0257db8846c7350e1eb21c9 | |
parent | fbf4923cad17b55bd7a647bf2300b28e23b8cdbb (diff) | |
download | samba-5c13a90abebbd9f23c4e426b2f52c7440aa49586.tar.gz samba-5c13a90abebbd9f23c4e426b2f52c7440aa49586.tar.bz2 samba-5c13a90abebbd9f23c4e426b2f52c7440aa49586.zip |
s4 torture: close handle instead of using exit
-rw-r--r-- | source4/torture/raw/rename.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |