From: Alexander Baranov Date: Mon, 1 Jun 2015 20:12:27 +0000 (+0300) Subject: remove obsolete spaces X-Git-Tag: v1.0.0~1163^2^2 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=2982ad07ca57bd31f18febbb4a57b15d6d2f3e1f;p=btrtrc.git remove obsolete spaces --- 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) {