From 614be2504480978cb13000d51970cec3b54044ef Mon Sep 17 00:00:00 2001 From: sta Date: Thu, 25 Feb 2021 20:15:44 +0900 Subject: [PATCH] [Modify] Polish it --- websocket-sharp/Net/ChunkStream.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/websocket-sharp/Net/ChunkStream.cs b/websocket-sharp/Net/ChunkStream.cs index 4dd78654..12b84fb4 100644 --- a/websocket-sharp/Net/ChunkStream.cs +++ b/websocket-sharp/Net/ChunkStream.cs @@ -140,6 +140,7 @@ namespace WebSocketSharp.Net private static string removeChunkExtension (string value) { var idx = value.IndexOf (';'); + return idx > -1 ? value.Substring (0, idx) : value; }