forked from I2P_Developers/i2p.i2p
* i2psnark: Fix add torrent NPE
This commit is contained in:
@ -484,7 +484,7 @@ public class Snark
|
||||
this.torrent = torrent;
|
||||
this.infoHash = ih;
|
||||
this.additionalTrackerURL = trackerURL;
|
||||
this.rootDataDir = new File(rootDir);
|
||||
this.rootDataDir = rootDir != null ? new File(rootDir) : null; // null only for FetchAndAdd extension
|
||||
stopped = true;
|
||||
id = generateID();
|
||||
|
||||
|
Reference in New Issue
Block a user