Browse Source

Completely initialize native status on torrent creation

PR #18900.
adaptive-webui-19844
Vladimir Golovnev 2 years ago committed by GitHub
parent
commit
1bd499565e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/base/bittorrent/nativetorrentextension.cpp

2
src/base/bittorrent/nativetorrentextension.cpp

@ -44,7 +44,7 @@ NativeTorrentExtension::NativeTorrentExtension(const lt::torrent_handle &torrent
if (m_data) if (m_data)
{ {
m_data->status = m_torrentHandle.status({}); m_data->status = m_torrentHandle.status();
m_data->trackers = m_torrentHandle.trackers(); m_data->trackers = m_torrentHandle.trackers();
m_data->urlSeeds = m_torrentHandle.url_seeds(); m_data->urlSeeds = m_torrentHandle.url_seeds();
} }

Loading…
Cancel
Save