dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 98b662176e550af675fdc078347424cfd0e69bef
parent d0da4e205e086a7fbbf00e7100b216ecaf715db8
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Mon, 30 Jan 2023 16:13:02 -0800

cleanup

Diffstat:
Mcmd/dkfupload/main.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/dkfupload/main.go b/cmd/dkfupload/main.go @@ -80,7 +80,7 @@ func main() { } buf := make([]byte, maxChunkSize) for chunkNum := range chunksCh { - offset := int64(chunkNum) * maxChunkSize + offset := chunkNum * maxChunkSize n, _ := f.ReadAt(buf, offset) log.Printf("Thread #%03d | chunk #%03d | read %d | from %d to %d\n", i, chunkNum, n, offset, offset+int64(n)) if !dry {