tracker retry fix

This commit is contained in:
Arvid Norberg 2011-09-13 02:23:18 +00:00
parent 460799d600
commit ef496eb00c
1 changed files with 2 additions and 1 deletions

View File

@ -8217,7 +8217,8 @@ ctx->set_verify_callback(verify_function, ec);
}
}
// announce to the next working tracker
if (!m_abort) announce_with_tracker();
if ((!m_abort && m_allow_peers) || r.event == tracker_request::stopped)
announce_with_tracker(r.event);
update_tracker_timer(time_now());
}