Pārlūkot izejas kodu

Set its rates to zero when stopping a torrent.

master
Richard Nyberg pirms 18 gadiem
vecāks
revīzija
1b3c4e7c05
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      btpd/net.c

+ 2
- 0
btpd/net.c Parādīt failu

@@ -94,6 +94,8 @@ net_stop(struct torrent *tp)
BTPDQ_REMOVE(&m_torrents, n, entry);

n->active = 0;
n->rate_up = 0;
n->rate_dwn = 0;

ul_on_lost_torrent(n);



Notiek ielāde…
Atcelt
Saglabāt