makes all tracker requests 'stopped' when aborting

This commit is contained in:
Arvid Norberg 2008-08-11 14:31:58 +00:00
parent 679b1ff675
commit 7d6a895d1b
1 changed files with 2 additions and 0 deletions

View File

@ -848,6 +848,8 @@ namespace libtorrent
restart_tracker_timer(time_now() + seconds(tracker_retry_delay_max));
if (m_abort) e = tracker_request::stopped;
if (e == tracker_request::none)
{
if (!m_start_sent) e = tracker_request::started;