Browse Source

Fix incorrectly set torrent startup flag

adaptive-webui-19844
Vladimir Golovnev (Glassez) 6 years ago
parent
commit
2c145fa57c
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7
  1. 2
      src/base/bittorrent/session.cpp

2
src/base/bittorrent/session.cpp

@ -1865,7 +1865,7 @@ bool Session::addTorrent_impl(CreateTorrentParams params, const MagnetUri &magne
#if (LIBTORRENT_VERSION_NUM < 10200) #if (LIBTORRENT_VERSION_NUM < 10200)
handle.auto_managed(false); handle.auto_managed(false);
#else #else
handle.set_flags(lt::torrent_flags::auto_managed); handle.unset_flags(lt::torrent_flags::auto_managed);
#endif #endif
handle.pause(); handle.pause();
} }

Loading…
Cancel
Save