forked from premiere/premiere-libtorrent
fixed pausing issue introduced in the changed add_torrent
This commit is contained in:
parent
5acf0901ec
commit
4137c0885a
|
@ -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));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue