From 6da865ac52920c1a5e8970b4e2649bc711e0f1ba Mon Sep 17 00:00:00 2001 From: sta Date: Sat, 10 Feb 2018 16:51:04 +0900 Subject: [PATCH] [Modify] Replace it --- websocket-sharp/Ext.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/websocket-sharp/Ext.cs b/websocket-sharp/Ext.cs index 481f06c0..16d7805c 100644 --- a/websocket-sharp/Ext.cs +++ b/websocket-sharp/Ext.cs @@ -844,7 +844,6 @@ namespace WebSocketSharp ) { var len = value.Length; - var separator = new string (separators); var buff = new StringBuilder (32); var end = len - 1; @@ -875,7 +874,7 @@ namespace WebSocketSharp continue; } - if (separator.IndexOf (c) > -1) { + if (Array.IndexOf (separators, c) > -1) { if (quoted) continue;