code format

This commit is contained in:
nikk gitanes
2021-09-09 07:28:14 +03:00
parent 313d1122a0
commit 49a72242c4
4 changed files with 10 additions and 11 deletions

View File

@@ -7,7 +7,6 @@ import (
"os"
"path"
"strings"
)
func init() {

View File

@@ -65,7 +65,7 @@ func (t *Torrent) Preload(index int, size int64) {
// mb5 -> 8/16 MB
mb5 := int64(t.Info().PieceLength)
if (mb5 < 8 * 1024 * 1024) {
if mb5 < 8*1024*1024 {
mb5 = 8 * 1024 * 1024
}