mirror of
https://github.com/cbeuw/Cloak.git
synced 2024-11-15 18:13:29 +00:00
fix return shadowing
This commit is contained in:
parent
e4da349aa0
commit
6d75aaff01
@ -89,7 +89,7 @@ func ReadTLS(conn net.Conn, buffer []byte) (n int, err error) {
|
||||
|
||||
i, err := conn.Read(buffer[readPtr : readPtr+left])
|
||||
if err != nil {
|
||||
return
|
||||
return i, err
|
||||
}
|
||||
left -= i
|
||||
readPtr += i
|
||||
|
Loading…
Reference in New Issue
Block a user