1
0
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:
v2ray
2016-06-27 08:53:35 +02:00
parent 5ee87404fd
commit 7f661f5215
41 changed files with 118 additions and 118 deletions

View File

@@ -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