[Modify] Polish it

This commit is contained in:
sta 2019-07-18 19:57:48 +09:00
parent beb3a14976
commit 8d94a28a2e

View File

@ -123,7 +123,7 @@ namespace WebSocketSharp
internal ushort Code {
get {
if (!_codeSet) {
_code = _length > 1
_code = _length >= 2
? _data.SubArray (0, 2).ToUInt16 (ByteOrder.Big)
: (ushort) 1005;