fixed bug in storage::read()

This commit is contained in:
Daniel Wallin 2003-12-08 09:01:57 +00:00
parent 3849f449fc
commit 298f0edafa
2 changed files with 5 additions and 6 deletions

View File

@ -163,7 +163,7 @@ int main(int argc, char* argv[])
using namespace libtorrent;
// TEMPORARY
// boost::filesystem::path::default_name_check(boost::filesystem::no_check);
boost::filesystem::path::default_name_check(boost::filesystem::no_check);
if (argc < 2)
{

View File

@ -294,12 +294,11 @@ namespace libtorrent
boost::filesystem::path m_save_path;
// synchronization
boost::mutex m_locked_pieces_monitor;
boost::condition m_unlocked_pieces;
std::vector<bool> m_locked_pieces;
mutable boost::recursive_mutex m_mutex;
bool m_allocating;
boost::mutex m_allocating_monitor;
boost::condition m_allocating_condition;
};
}