restore commented out function

This commit is contained in:
Arvid Norberg 2013-09-09 06:12:08 +00:00
parent 8ab8172cb7
commit 42ae69979f
1 changed files with 0 additions and 2 deletions

View File

@ -195,14 +195,12 @@ namespace libtorrent
// This is called when the tracker announce fails. // This is called when the tracker announce fails.
void failed(session_settings const& sett, int retry_interval = 0); void failed(session_settings const& sett, int retry_interval = 0);
/*
bool will_announce(ptime now) const bool will_announce(ptime now) const
{ {
return now <= next_announce return now <= next_announce
&& (fails < fail_limit || fail_limit == 0) && (fails < fail_limit || fail_limit == 0)
&& !updating; && !updating;
} }
*/
// returns true if we can announec to this tracker now. // returns true if we can announec to this tracker now.
// The current time is passed in as ``now``. The ``is_seed`` // The current time is passed in as ``now``. The ``is_seed``