cosmetics

This commit is contained in:
nikk gitanes
2023-04-09 11:10:27 +03:00
parent 998ebe8f26
commit 43b6d67522
3 changed files with 10 additions and 11 deletions

View File

@@ -84,8 +84,8 @@ func (t *Torrent) Preload(index int, size int64) {
// startend -> 8/16 MB
startend := t.Info().PieceLength
if startend < 8*1024*1024 {
startend = 8 * 1024 * 1024
if startend < 8<<20 {
startend = 8 << 20
}
readerStart := file.NewReader()