From d291763b054377eeae96e947c0cde9f95c0c3e79 Mon Sep 17 00:00:00 2001 From: sta Date: Wed, 1 Jul 2020 19:45:10 +0900 Subject: [PATCH] [Modify] Polish it --- websocket-sharp/Net/WebHeaderCollection.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/websocket-sharp/Net/WebHeaderCollection.cs b/websocket-sharp/Net/WebHeaderCollection.cs index 0726ada3..fdc3663e 100644 --- a/websocket-sharp/Net/WebHeaderCollection.cs +++ b/websocket-sharp/Net/WebHeaderCollection.cs @@ -1463,6 +1463,7 @@ namespace WebSocketSharp.Net public override string[] GetValues (int index) { var vals = base.GetValues (index); + return vals != null && vals.Length > 0 ? vals : null; }