torrent.go | 3 ++- diff --git a/torrent.go b/torrent.go index a9431a38d56a380b91e4777267e8a4fedb051bee..6498c23ec99fa70795e5290718e66c1590ca29e5 100644 --- a/torrent.go +++ b/torrent.go @@ -403,7 +403,8 @@ return "?" } }()) if t.haveInfo() { - fmt.Fprint(w, "Pieces:") + fmt.Fprintf(w, "Num Pieces: %d\n", t.numPieces()) + fmt.Fprint(w, "Piece States:") for _, psr := range t.pieceStateRuns() { w.Write([]byte(" ")) w.Write([]byte(pieceStateRunStatusChars(psr)))