fixed typo in storage allocation. would exit early on non fatal error

This commit is contained in:
Arvid Norberg 2011-02-12 22:11:00 +00:00
parent 7f91b8174e
commit 9915d72e4c
1 changed files with 1 additions and 2 deletions

View File

@ -563,10 +563,9 @@ namespace libtorrent
f->set_size(file_iter->size, ec);
if (ec) set_error(file_path, ec);
}
}
if (ec) break;
}
}
std::vector<boost::uint8_t>().swap(m_file_priority);
// close files that were opened in write mode