correct comment [ci-skip]

This commit is contained in:
Jimmy Zelinskie 2014-07-17 04:21:12 -04:00
parent 07081e1027
commit f54f688ab2

View file

@ -244,7 +244,7 @@ func appendSubnetPeers(ipv4s, ipv6s models.PeerList, ann *models.Announce, annou
} }
// Iterate over the peers twice: first add only peers in the same subnet and // Iterate over the peers twice: first add only peers in the same subnet and
// if we still need more peers grab any that have already been added. // if we still need more peers grab any that haven't already been added.
count := 0 count := 0
for _, peersLeftInSubnet := range [2]bool{true, false} { for _, peersLeftInSubnet := range [2]bool{true, false} {
for _, peer := range peers { for _, peer := range peers {