mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-06-21 02:09:55 -04:00
rename Error to Err
This commit is contained in:
@@ -94,7 +94,7 @@ func (this *ChunkReader) Read() (*alloc.Buffer, error) {
|
||||
if !bytes.Equal(authBytes, actualAuthBytes) {
|
||||
buffer.Release()
|
||||
log.Debug("AuthenticationReader: Unexpected auth: ", authBytes)
|
||||
return nil, transport.ErrorCorruptedPacket
|
||||
return nil, transport.ErrCorruptedPacket
|
||||
}
|
||||
buffer.Value = payload
|
||||
|
||||
|
||||
Reference in New Issue
Block a user