Commit eac2df02 authored by obscuren's avatar obscuren

downloader: fixed a typo

parent 20537801
......@@ -311,7 +311,7 @@ out:
// 2) Measure their speed;
// 3) Amount and availability.
d.queue.deliver(pid, nil)
if peer := p.peers[pid]; peer != nil {
if peer := d.peers[pid]; peer != nil {
peer.demote()
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment