[Modify] Polish it

This commit is contained in:
sta 2021-11-11 20:46:55 +09:00
parent eb845aa70a
commit 04cb8f4901

View File

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