summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
authorRichard Nyberg <rnyberg@murmeldjur.se>2005-07-21 09:29:19 +0000
committerRichard Nyberg <rnyberg@murmeldjur.se>2005-07-21 09:29:19 +0000
commit0c794ac33a5359137ae044220addb731627908c0 (patch)
tree372e19250d30c42ece89d7285a6a02546249c5d2 /misc
parentc8a115a0f01f4c15cd46d4f4ba7ad43a5e3857e5 (diff)
downloadbtpd-0c794ac33a5359137ae044220addb731627908c0.tar.gz
btpd-0c794ac33a5359137ae044220addb731627908c0.zip
The test for if we should call cm_on_undownload or not wasn't
totally correct. Since there's a possibility that we've assigned
requests to peer and then decreased the wanted level, we could've
missed peers with requests but a wanted level of zero.

Now we check if the peer has any requests instead.

Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions