1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 02:22:31 +01:00

Don't die in MonoTorrent if nodes is an empty string.

This commit is contained in:
Taloth Saldono 2016-02-25 21:40:55 +01:00
parent 949d8bf49b
commit 3bc6bf9e99

View File

@ -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"):