Address easy golint comments

This commit is contained in:
Justin Li
2014-08-01 16:16:38 -04:00
parent a55219963b
commit d610b4ebb0
4 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ func (c *Conn) PurgeInactivePeers(purgeEmptyTorrents bool, before time.Time) err
index := 0
keys := make([]string, len(c.torrents))
for infohash, _ := range c.torrents {
for infohash := range c.torrents {
keys[index] = infohash
index++
}