Skip to content

Commit

Permalink
fix: update accumulator for total bytes written
Browse files Browse the repository at this point in the history
  • Loading branch information
lavafroth committed Sep 3, 2023
1 parent d987a08 commit 341d476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func (conn *Conn) WriteChunks(c [][]byte) (n int, err error) {
return 0, nil
}

b += total
total += b
}

return total, nil
Expand Down

0 comments on commit 341d476

Please sign in to comment.