conn_stats.go | 5 ++--- torrent.go | 4 ++-- diff --git a/conn_stats.go b/conn_stats.go index 3a0216f587a6d8126d71f267b7c6c6f03e1f4ce4..bb2bc26bc90b38f120ba8cd301894d311b2d3d89 100644 --- a/conn_stats.go +++ b/conn_stats.go @@ -34,9 +34,8 @@ MetadataChunksRead Count // 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 } diff --git a/torrent.go b/torrent.go index 5bb013bce9ab99191b74471e70b45b07ecc4abf3..32db51460b704ce02c1134ac68370596319ae431 100644 --- a/torrent.go +++ b/torrent.go @@ -1769,8 +1769,8 @@ return }()) } -// 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)