Modified a bit for the CheckIfValidControlData method
This commit is contained in:
parent
91adf42611
commit
bef64963be
@ -281,7 +281,7 @@ namespace WebSocketSharp
|
|||||||
internal static string CheckIfValidControlData (this byte[] data, string paramName)
|
internal static string CheckIfValidControlData (this byte[] data, string paramName)
|
||||||
{
|
{
|
||||||
return data.Length > 125
|
return data.Length > 125
|
||||||
? String.Format ("'{0}' is greater than the allowable max size.", paramName)
|
? String.Format ("'{0}' has greater than the allowable max size.", paramName)
|
||||||
: null;
|
: null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user