Przeglądaj źródła

Set its rates to zero when stopping a torrent.

master
Richard Nyberg 18 lat temu
rodzic
commit
1b3c4e7c05
1 zmienionych plików z 2 dodań i 0 usunięć
  1. +2
    -0
      btpd/net.c

+ 2
- 0
btpd/net.c Wyświetl plik

@@ -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);



Ładowanie…
Anuluj
Zapisz