rename Error to Err

This commit is contained in:
v2ray committed 2016-06-27 08:53:35 +02:00
1 parent 5ee87404fd
commit 7f661f5215
41 files changed
+118 -118

No files matched your search

+1 -1
View File
@@ -114,7 +114,7 @@ func (this *ClientSession) DecodeResponseHeader(reader io.Reader) (*protocol.Res
if buffer.Value[0] != this.responseHeader {
log.Info("Raw: Unexpected response header. Expecting ", this.responseHeader, " but actually ", buffer.Value[0])
return nil, transport.ErrorCorruptedPacket
return nil, transport.ErrCorruptedPacket
}
header := &protocol.ResponseHeader{