fixed bug where removing all trackers would crash libtorrent. Fixes #205

This commit is contained in:
Arvid Norberg 2007-11-16 19:35:09 +00:00
parent 2ea9fb2851
commit 3c8587f919
1 changed files with 1 additions and 1 deletions

View File

@ -498,7 +498,7 @@ namespace libtorrent
{
INVARIANT_CHECK;
if (m_torrent_file->trackers().empty()) return false;
if (m_trackers.empty()) return false;
if (m_just_paused)
{