forked from premiere/premiere-libtorrent
restore commented out function
This commit is contained in:
parent
8ab8172cb7
commit
42ae69979f
|
@ -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``
|
||||||
|
|
Loading…
Reference in New Issue