[Modify] Add a check

This commit is contained in:
sta 2018-12-19 21:49:57 +09:00
parent 0c8d458521
commit c313056e68

View File

@ -907,6 +907,9 @@ namespace WebSocketSharp.Net
if (output == null)
throw new ArgumentNullException ("output");
if (s.Length == 0)
return;
output.Write (HtmlDecode (s));
}