there are still some serious issues with storage when having large torrents (about 700 meg and up at least)

This commit is contained in:
Arvid Norberg
2003-12-01 05:01:40 +00:00
parent 0019e23b4f
commit f21d6a0f7f
18 changed files with 458 additions and 174 deletions

View File

@@ -182,8 +182,9 @@ int main(int argc, char* argv[])
in.unsetf(std::ios_base::skipws);
entry e = bdecode(std::istream_iterator<char>(in), std::istream_iterator<char>());
torrent_info t(e);
// t.convert_file_names();
t.print(std::cout);
handles.push_back(s.add_torrent(t, ""));
handles.push_back(s.add_torrent(t, boost::filesystem::path("", boost::filesystem::native)));
}
catch (std::exception& e)
{