From 28cdefcd89a11a163329182249bb2dd7672c4b18 Mon Sep 17 00:00:00 2001 From: sta Date: Sun, 3 Dec 2017 16:50:25 +0900 Subject: [PATCH] [Modify] Polish it --- websocket-sharp/WebSocket.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocket-sharp/WebSocket.cs b/websocket-sharp/WebSocket.cs index edf202c1..1aaad019 100644 --- a/websocket-sharp/WebSocket.cs +++ b/websocket-sharp/WebSocket.cs @@ -1747,7 +1747,7 @@ namespace WebSocketSharp // As server private void processSecWebSocketProtocolHeader (IEnumerable values) { - if (values.Contains (p => p == _protocol)) + if (values.Contains (val => val == _protocol)) return; _protocol = null;