From ca80835f27cacfd7917aa5f24c3dad3cb71ee36e Mon Sep 17 00:00:00 2001 From: sta Date: Thu, 5 Mar 2020 21:54:04 +0900 Subject: [PATCH] [Modify] Polish it --- websocket-sharp/Net/WebHeaderCollection.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocket-sharp/Net/WebHeaderCollection.cs b/websocket-sharp/Net/WebHeaderCollection.cs index 66bd7045..4463fdf5 100644 --- a/websocket-sharp/Net/WebHeaderCollection.cs +++ b/websocket-sharp/Net/WebHeaderCollection.cs @@ -939,7 +939,7 @@ namespace WebSocketSharp.Net internal static bool IsHeaderName (string name) { - return name != null && name.Length > 0 && name.IsToken (); + return name.IsToken (); } internal static bool IsHeaderValue (string value)