1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-04 00:05:21 -05:00

fix lint errors

This commit is contained in:
Darien Raymond
2018-04-04 00:29:30 +02:00
parent 27ccc9d726
commit 9f198d7e3d
10 changed files with 19 additions and 18 deletions

View File

@@ -124,7 +124,7 @@ func (r *AuthenticationReader) readSize() (int32, error) {
var errSoft = newError("waiting for more data")
func (r *AuthenticationReader) readInternal(soft bool) (*buf.Buffer, error) {
if soft && r.reader.BufferedBytes() < int32(r.sizeParser.SizeBytes()) {
if soft && r.reader.BufferedBytes() < r.sizeParser.SizeBytes() {
return nil, errSoft
}