From f04b04ac4cc2e03e2015300af4d82ace1d342440 Mon Sep 17 00:00:00 2001 From: sta Date: Thu, 8 Nov 2018 20:01:21 +0900 Subject: [PATCH] [Modify] Replace it --- websocket-sharp/Net/HttpUtility.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/websocket-sharp/Net/HttpUtility.cs b/websocket-sharp/Net/HttpUtility.cs index a02eb0aa..85320967 100644 --- a/websocket-sharp/Net/HttpUtility.cs +++ b/websocket-sharp/Net/HttpUtility.cs @@ -1261,9 +1261,7 @@ namespace WebSocketSharp.Net if (count < 0 || count > len - offset) throw new ArgumentOutOfRangeException ("count"); - return count > 0 - ? InternalUrlEncodeToBytes (bytes, offset, count) - : new byte[0]; + return count > 0 ? urlEncodeToBytes (bytes, offset, count) : new byte[0]; } public static byte[] UrlEncodeToBytes (string s)