fixed pausing issue introduced in the changed add_torrent

This commit is contained in:
Arvid Norberg 2007-08-22 18:37:20 +00:00
parent 5acf0901ec
commit 4137c0885a
1 changed files with 1 additions and 1 deletions

View File

@ -437,7 +437,7 @@ void add_torrent(libtorrent::session& ses
catch (boost::filesystem::filesystem_error&) {} catch (boost::filesystem::filesystem_error&) {}
torrent_handle h = ses.add_torrent(t, save_path, resume_data torrent_handle h = ses.add_torrent(t, save_path, resume_data
, compact_mode, 16 * 1024); , compact_mode, false);
handles.insert(std::make_pair( handles.insert(std::make_pair(
monitored_dir?std::string(torrent):std::string(), h)); monitored_dir?std::string(torrent):std::string(), h));