From 7d6a895d1bc5da6017b4b463a38e800aa316a0e7 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 11 Aug 2008 14:31:58 +0000 Subject: [PATCH] makes all tracker requests 'stopped' when aborting --- src/torrent.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/torrent.cpp b/src/torrent.cpp index 573ad9b86..4f7b7ee1d 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -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;