forked from premiere/premiere-libtorrent
fixed bug in storage::read()
This commit is contained in:
parent
3849f449fc
commit
298f0edafa
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue