]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Reflow some comments
authorMatt Joiner <anacrolix@gmail.com>
Wed, 22 Jan 2020 04:56:16 +0000 (15:56 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Wed, 22 Jan 2020 04:56:16 +0000 (15:56 +1100)
conn_stats.go
torrent.go

index 3a0216f587a6d8126d71f267b7c6c6f03e1f4ce4..bb2bc26bc90b38f120ba8cd301894d311b2d3d89 100644 (file)
@@ -34,9 +34,8 @@ type ConnStats struct {
 
        // Number of pieces data was written to, that subsequently passed verification.
        PiecesDirtiedGood Count
-       // Number of pieces data was written to, that subsequently failed
-       // verification. Note that a connection may not have been the sole dirtier
-       // of a piece.
+       // Number of pieces data was written to, that subsequently failed verification. Note that a
+       // connection may not have been the sole dirtier of a piece.
        PiecesDirtiedBad Count
 }
 
index 5bb013bce9ab99191b74471e70b45b07ecc4abf3..32db51460b704ce02c1134ac68370596319ae431 100644 (file)
@@ -1769,8 +1769,8 @@ func (t *Torrent) AddClientPeer(cl *Client) {
        }())
 }
 
-// All stats that include this Torrent. Useful when we want to increment
-// ConnStats but not for every connection.
+// All stats that include this Torrent. Useful when we want to increment ConnStats but not for every
+// connection.
 func (t *Torrent) allStats(f func(*ConnStats)) {
        f(&t.stats)
        f(&t.cl.stats)