mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2024-12-22 14:26:31 +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
|
return 0, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
b += total
|
total += b
|
||||||
}
|
}
|
||||||
|
|
||||||
return total, nil
|
return total, nil
|
||||||
|
Loading…
Reference in New Issue
Block a user