Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[TorrentEditor] Change a reference equality check to a value equality…

… check
  • Loading branch information...
commit 24a944dc6cebc9522c15ac2390c567d471a15838 1 parent 36d3b44
@alanmcgovern alanmcgovern authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/MonoTorrent/MonoTorrent.Common/EditableTorrent.cs
2  src/MonoTorrent/MonoTorrent.Common/EditableTorrent.cs
@@ -140,7 +140,7 @@ public void SetCustom (BEncodedString key, BEncodedValue value)
Check.Key (key);
Check.Value (value);
- if (key == InfoKey)
+ if (InfoKey.Equals (key))
CheckCanEditSecure ();
Metadata [key] = value;
Please sign in to comment.
Something went wrong with that request. Please try again.