From 2dfde14d5de6ac7c75d673adc42a2c6e9b7a7707 Mon Sep 17 00:00:00 2001 From: sta Date: Fri, 28 Jun 2019 19:49:35 +0900 Subject: [PATCH] [Modify] Polish it --- websocket-sharp/Ext.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/websocket-sharp/Ext.cs b/websocket-sharp/Ext.cs index 80cdc70b..32beea52 100644 --- a/websocket-sharp/Ext.cs +++ b/websocket-sharp/Ext.cs @@ -1245,8 +1245,8 @@ namespace WebSocketSharp this Stream stream, byte[] bytes, int bufferLength ) { - using (var input = new MemoryStream (bytes)) - input.CopyTo (stream, bufferLength); + using (var src = new MemoryStream (bytes)) + src.CopyTo (stream, bufferLength); } internal static void WriteBytesAsync (