Skip to content

Commit fe4b95a

Browse files
committed
[Modify] Polish it
1 parent bbd545d commit fe4b95a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

websocket-sharp/Net/HttpListenerContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ internal void SendError ()
236236
);
237237

238238
var enc = Encoding.UTF8;
239-
var entity = enc.GetBytes (content.ToString ());
239+
var entity = enc.GetBytes (content);
240240
_response.ContentEncoding = enc;
241241
_response.ContentLength64 = entity.LongLength;
242242

0 commit comments

Comments
 (0)