[Modify] Polish it

This commit is contained in:
sta 2019-04-01 20:33:47 +09:00
parent 36217c21a1
commit ec7d54237a

View File

@ -239,8 +239,8 @@ namespace WebSocketSharp.Net
private static int compareCookieWithinSorted (Cookie x, Cookie y)
{
var ret = 0;
return (ret = x.Version - y.Version) != 0
var ret = x.Version - y.Version;
return ret != 0
? ret
: (ret = x.Name.CompareTo (y.Name)) != 0
? ret