]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Remove old comment
authorMatt Joiner <anacrolix@gmail.com>
Wed, 4 Nov 2020 00:34:24 +0000 (11:34 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Wed, 4 Nov 2020 00:34:24 +0000 (11:34 +1100)
peerconn.go

index 9ad056ce6658c2ed89b1a59ed0d6b46edd5d93a7..d975af4f42675c4396922ce0a7d195b73357f6f1 100644 (file)
@@ -1547,7 +1547,6 @@ func (c *PeerConn) _postCancel(r request) {
 }
 
 func (c *PeerConn) sendChunk(r request, msg func(pp.Message) bool) (more bool, err error) {
-       // Count the chunk being sent, even if it isn't.
        b := make([]byte, r.Length)
        p := c.t.info.Piece(int(r.Index))
        n, err := c.t.readAt(b, p.Offset()+int64(r.Begin))