From 4f64885b91b7b2a37773feadd33df2116892769d Mon Sep 17 00:00:00 2001 From: sta Date: Thu, 23 Jul 2020 19:36:34 +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 6853ffcf..d6775ccd 100644 --- a/websocket-sharp/Net/HttpHeaderInfo.cs +++ b/websocket-sharp/Net/HttpHeaderInfo.cs @@ -61,8 +61,9 @@ namespace WebSocketSharp.Net internal bool IsMultiValueInResponse { get { - return (_headerType & HttpHeaderType.MultiValueInResponse) - == HttpHeaderType.MultiValueInResponse; + var headerType = _headerType & HttpHeaderType.MultiValueInResponse; + + return headerType == HttpHeaderType.MultiValueInResponse; } }