mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2024-12-22 06:15:51 +00:00
fix: update accumulator for total bytes written
This commit is contained in:
parent
d987a08549
commit
341d47622c
@ -25,7 +25,7 @@ func (conn *Conn) WriteChunks(c [][]byte) (n int, err error) {
|
||||
return 0, nil
|
||||
}
|
||||
|
||||
b += total
|
||||
total += b
|
||||
}
|
||||
|
||||
return total, nil
|
||||
|
Loading…
Reference in New Issue
Block a user