[Modify] Polish it
This commit is contained in:
parent
eb845aa70a
commit
04cb8f4901
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user