[Modify] Replace it

This commit is contained in:
sta 2019-03-30 16:56:07 +09:00
parent afe129fd92
commit 536a7d4381

View File

@ -502,13 +502,7 @@ namespace WebSocketSharp.Net
if (cookie == null)
throw new ArgumentNullException ("cookie");
var idx = searchCookie (cookie);
if (idx == -1) {
_list.Add (cookie);
return;
}
_list[idx] = cookie;
add (cookie);
}
/// <summary>