From 2982ad07ca57bd31f18febbb4a57b15d6d2f3e1f Mon Sep 17 00:00:00 2001 From: Alexander Baranov Date: Mon, 1 Jun 2015 23:12:27 +0300 Subject: [PATCH] remove obsolete spaces --- client.go | 2 -- torrent.go | 1 - 2 files changed, 3 deletions(-) diff --git a/client.go b/client.go index f4e6bbb0..f5ecac7c 100644 --- a/client.go +++ b/client.go @@ -2400,7 +2400,6 @@ func (cl *Client) allTorrentsCompleted() bool { return true } - // Returns true when all torrents are completely downloaded and false if the // client is stopped before that. func (me *Client) WaitAll() bool { @@ -2415,7 +2414,6 @@ func (me *Client) WaitAll() bool { return true } - func (me *Client) fillRequests(t *torrent, c *connection) { if c.Interested { if c.PeerChoked { diff --git a/torrent.go b/torrent.go index 74e49831..fd213d5b 100644 --- a/torrent.go +++ b/torrent.go @@ -515,7 +515,6 @@ func (t *torrent) numPieces() int { return t.Info.NumPieces() } - func (t *torrent) numPiecesCompleted() (num int) { for i := range iter.N(t.Info.NumPieces()) { if t.pieceComplete(i) { -- 2.48.1