Parcourir la source

Set its rates to zero when stopping a torrent.

master
Richard Nyberg il y a 18 ans
Parent
révision
1b3c4e7c05
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. +2
    -0
      btpd/net.c

+ 2
- 0
btpd/net.c Voir le fichier

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



Chargement…
Annuler
Enregistrer