From d7cb1d71042b9e612ce95b1b525a99c293acc6d9 Mon Sep 17 00:00:00 2001 From: sta Date: Wed, 22 May 2019 21:44:26 +0900 Subject: [PATCH] [Modify] Polish it --- websocket-sharp/Net/Cookie.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocket-sharp/Net/Cookie.cs b/websocket-sharp/Net/Cookie.cs index f725a0c9..31d64137 100644 --- a/websocket-sharp/Net/Cookie.cs +++ b/websocket-sharp/Net/Cookie.cs @@ -802,7 +802,7 @@ namespace WebSocketSharp.Net buff.Append ("; Port"); } - if (!_comment.IsNullOrEmpty ()) + if (_comment != null) buff.AppendFormat ("; Comment={0}", HttpUtility.UrlEncode (_comment)); if (_commentUri != null) {