Fix torrent status info hash hex

This commit is contained in:
Matt Joiner 2017-02-16 20:10:32 +11:00
parent 6ca3275752
commit 350dd01ab9
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ func pieceStateRunStatusChars(psr PieceStateRun) (ret string) {
}
func (t *Torrent) writeStatus(w io.Writer) {
fmt.Fprintf(w, "Infohash: %x\n", t.infoHash)
fmt.Fprintf(w, "Infohash: %s\n", t.infoHash.HexString())
fmt.Fprintf(w, "Metadata length: %d\n", t.metadataSize())
if !t.haveInfo() {
fmt.Fprintf(w, "Metadata have: ")