*** empty log message ***

This commit is contained in:
Arvid Norberg
2004-10-16 01:10:42 +00:00
parent a8e8c715e8
commit c48f64c2ec
4 changed files with 19 additions and 7 deletions

View File

@@ -110,6 +110,7 @@ namespace libtorrent
void open(fs::path const& path, int mode)
{
assert(path.is_complete());
close();
m_fd = ::open(
path.native_file_string().c_str()
@@ -129,9 +130,6 @@ namespace libtorrent
{
if (m_fd == -1) return;
std::stringstream str;
str << "fd: " << m_fd << "\n";
::close(m_fd);
m_fd = -1;
m_open_mode = 0;