forked from premiere/premiere-libtorrent
fixed bug in next_announce_in
This commit is contained in:
parent
0093229d27
commit
f5d6f885e3
|
@ -424,10 +424,10 @@ namespace libtorrent
|
|||
}
|
||||
|
||||
int announce_entry::next_announce_in() const
|
||||
{ return total_seconds(time_now() - next_announce); }
|
||||
{ return total_seconds(next_announce - time_now()); }
|
||||
|
||||
int announce_entry::min_announce_in() const
|
||||
{ return total_seconds(time_now() - min_announce); }
|
||||
{ return total_seconds(min_announce - time_now()); }
|
||||
|
||||
void announce_entry::failed(int retry_interval)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue