From 36217c21a1f3556f6ad7bb9fb551599c775a8062 Mon Sep 17 00:00:00 2001 From: sta Date: Sun, 31 Mar 2019 17:53:30 +0900 Subject: [PATCH] [Modify] Polish it --- websocket-sharp/Net/CookieCollection.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/websocket-sharp/Net/CookieCollection.cs b/websocket-sharp/Net/CookieCollection.cs index 2fa6a61e..2acfb7fd 100644 --- a/websocket-sharp/Net/CookieCollection.cs +++ b/websocket-sharp/Net/CookieCollection.cs @@ -233,7 +233,8 @@ namespace WebSocketSharp.Net private static int compareCookieWithinSort (Cookie x, Cookie y) { - return (x.Name.Length + x.Value.Length) - (y.Name.Length + y.Value.Length); + return (x.Name.Length + x.Value.Length) + - (y.Name.Length + y.Value.Length); } private static int compareCookieWithinSorted (Cookie x, Cookie y)