fixed pausing issue introduced in the changed add_torrent
This commit is contained in:
@@ -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));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user