*** empty log message ***
This commit is contained in:
parent
329e610ca6
commit
67ecb82524
|
@ -152,7 +152,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)
|
||||
{
|
||||
|
|
|
@ -72,6 +72,11 @@ namespace libtorrent
|
|||
virtual const char* what() const throw() { return "invalid torrent file"; }
|
||||
};
|
||||
|
||||
// TODO: add a check to see if filenames are accepted on the
|
||||
// current platform.
|
||||
// TODO: add a filename converter function that will transform
|
||||
// invalid filenames to valid filenames on the current platform
|
||||
|
||||
class torrent_info
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -532,6 +532,8 @@ namespace libtorrent
|
|||
}
|
||||
|
||||
|
||||
// TODO: add a check to see if filenames are accepted on the
|
||||
// current platform.
|
||||
// if the torrent already exists, this will throw duplicate_torrent
|
||||
torrent_handle session::add_torrent(
|
||||
const torrent_info& ti
|
||||
|
|
|
@ -1088,7 +1088,6 @@ entry::integer_type libtorrent::storage::piece_storage(int piece)
|
|||
return m_allocated_pieces[piece];
|
||||
}
|
||||
|
||||
assert(false);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
|
Loading…
Reference in New Issue