[Modify] Add a check
This commit is contained in:
parent
0c8d458521
commit
c313056e68
@ -907,6 +907,9 @@ namespace WebSocketSharp.Net
|
||||
if (output == null)
|
||||
throw new ArgumentNullException ("output");
|
||||
|
||||
if (s.Length == 0)
|
||||
return;
|
||||
|
||||
output.Write (HtmlDecode (s));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user