From 2880ab2e15f8c4312bade398617e8610ab2ac7f1 Mon Sep 17 00:00:00 2001 From: sta Date: Thu, 23 Jul 2020 19:34:11 +0900 Subject: [PATCH] [Modify] Polish it --- websocket-sharp/Net/HttpHeaderInfo.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/websocket-sharp/Net/HttpHeaderInfo.cs b/websocket-sharp/Net/HttpHeaderInfo.cs index f7376ef3..6853ffcf 100644 --- a/websocket-sharp/Net/HttpHeaderInfo.cs +++ b/websocket-sharp/Net/HttpHeaderInfo.cs @@ -53,8 +53,9 @@ namespace WebSocketSharp.Net internal bool IsMultiValueInRequest { get { - return (_headerType & HttpHeaderType.MultiValueInRequest) - == HttpHeaderType.MultiValueInRequest; + var headerType = _headerType & HttpHeaderType.MultiValueInRequest; + + return headerType == HttpHeaderType.MultiValueInRequest; } }