[Modify] Polish it

This commit is contained in:
sta 2021-11-11 20:43:25 +09:00
parent a1629e89ca
commit eb845aa70a

View File

@ -665,12 +665,12 @@ namespace WebSocketSharp.Server
} }
if (len < length) { if (len < length) {
_log.Warn ( var msg = String.Format (
String.Format ( "Only {0} byte(s) of data could be read from the stream.",
"Only {0} byte(s) of data could be read from the stream.", len
len );
)
); _log.Warn (msg);
} }
if (len <= WebSocket.FragmentLength) if (len <= WebSocket.FragmentLength)