mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 01:38:24 +00:00
Don't die in MonoTorrent if nodes is an empty string.
This commit is contained in:
parent
949d8bf49b
commit
3bc6bf9e99
1 changed files with 2 additions and 1 deletions
|
@ -774,7 +774,8 @@ protected void LoadInternal(BEncodedDictionary torrentInformation)
|
|||
break;
|
||||
|
||||
case ("nodes"):
|
||||
this.nodes = (BEncodedList)keypair.Value;
|
||||
if (keypair.Value.ToString().Length != 0)
|
||||
this.nodes = (BEncodedList)keypair.Value;
|
||||
break;
|
||||
|
||||
case ("comment.utf-8"):
|
||||
|
|
Loading…
Reference in a new issue