[Modify] Polish it

This commit is contained in:
sta 2017-12-03 16:50:25 +09:00
parent 92770c3edb
commit 28cdefcd89

View File

@ -1747,7 +1747,7 @@ namespace WebSocketSharp
// As server // As server
private void processSecWebSocketProtocolHeader (IEnumerable<string> values) private void processSecWebSocketProtocolHeader (IEnumerable<string> values)
{ {
if (values.Contains (p => p == _protocol)) if (values.Contains (val => val == _protocol))
return; return;
_protocol = null; _protocol = null;