I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 46438b74 authored by zzz's avatar zzz
Browse files

* i2psnark: Fix NPE on magnet link addition

parent d7c1e972
No related branches found
No related tags found
No related merge requests found
...@@ -156,7 +156,7 @@ public class TrackerClient extends I2PAppThread ...@@ -156,7 +156,7 @@ public class TrackerClient extends I2PAppThread
primary = ""; primary = "";
} }
List tlist = _util.getOpenTrackers(); List tlist = _util.getOpenTrackers();
if (tlist != null && !meta.isPrivate()) { if (tlist != null && (meta == null || !meta.isPrivate())) {
for (int i = 0; i < tlist.size(); i++) { for (int i = 0; i < tlist.size(); i++) {
String url = (String)tlist.get(i); String url = (String)tlist.get(i);
if (!isValidAnnounce(url)) { if (!isValidAnnounce(url)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment