*** empty log message ***

This commit is contained in:
Arvid Norberg 2003-11-26 14:54:56 +00:00
parent 329e610ca6
commit 67ecb82524
4 changed files with 8 additions and 2 deletions

View File

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

View File

@ -72,6 +72,11 @@ namespace libtorrent
virtual const char* what() const throw() { return "invalid torrent file"; } 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 class torrent_info
{ {
public: public:

View File

@ -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 // if the torrent already exists, this will throw duplicate_torrent
torrent_handle session::add_torrent( torrent_handle session::add_torrent(
const torrent_info& ti const torrent_info& ti

View File

@ -1088,7 +1088,6 @@ entry::integer_type libtorrent::storage::piece_storage(int piece)
return m_allocated_pieces[piece]; return m_allocated_pieces[piece];
} }
assert(false);
} }
return result; return result;