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