From: Matt Joiner Date: Mon, 1 Dec 2014 09:28:25 +0000 (-0600) Subject: Not ever hashed takes higher priority than partially downloaded X-Git-Tag: v1.0.0~1464 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=db0232e03fadeb39bfc49167a7680a5ce81eab40;p=btrtrc.git Not ever hashed takes higher priority than partially downloaded --- diff --git a/torrent.go b/torrent.go index be9ca711..78162aa0 100644 --- a/torrent.go +++ b/torrent.go @@ -275,10 +275,10 @@ func (t *torrent) pieceStatusChar(index int) byte { return 'Q' case p.Hashing: return 'H' - case t.PiecePartiallyDownloaded(index): - return 'P' case !p.EverHashed: return '?' + case t.PiecePartiallyDownloaded(index): + return 'P' default: return '.' }