torrent.piecePartiallyDownloaded incorrectly returned true when all the chunks were dirty
This commit is contained in:
parent
26fa2c4af8
commit
034c816934
|
@ -510,7 +510,7 @@ func (t *torrent) piecePartiallyDownloaded(piece int) bool {
|
|||
return false
|
||||
}
|
||||
if t.pieceAllDirty(piece) {
|
||||
return true
|
||||
return false
|
||||
}
|
||||
return t.Pieces[piece].hasDirtyChunks()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue