From a01cbf6982938c97b65b1a0c81d7f501d3ab5734 Mon Sep 17 00:00:00 2001 From: Juan Batiz-Benet Date: Mon, 13 Oct 2014 05:05:59 -0700 Subject: [PATCH] iiii -> peerToQuery (that wasn't mine :p) --- exchange/bitswap/bitswap.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exchange/bitswap/bitswap.go b/exchange/bitswap/bitswap.go index af513c1de3a..b93b1a9b85e 100644 --- a/exchange/bitswap/bitswap.go +++ b/exchange/bitswap/bitswap.go @@ -81,8 +81,8 @@ func (bs *bitswap) Block(parent context.Context, k u.Key) (*blocks.Block, error) message.AppendWanted(wanted) } message.AppendWanted(k) - for iiiii := range peersToQuery { - log.Debug("bitswap got peersToQuery: %s", iiiii) + for peerToQuery := range peersToQuery { + log.Debug("bitswap got peersToQuery: %s", peerToQuery) go func(p *peer.Peer) { log.Debug("bitswap dialing peer: %s", p) @@ -106,7 +106,7 @@ func (bs *bitswap) Block(parent context.Context, k u.Key) (*blocks.Block, error) return } bs.ReceiveMessage(ctx, p, response) - }(iiiii) + }(peerToQuery) } }()