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

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

i2psnark: Fix NPE (ticket #1602)

parent c666f8a4
No related branches found
No related tags found
No related merge requests found
...@@ -1738,7 +1738,7 @@ public class SnarkManager implements CompleteListener { ...@@ -1738,7 +1738,7 @@ public class SnarkManager implements CompleteListener {
int totalDeleted = 0; int totalDeleted = 0;
synchronized (_snarks) { synchronized (_snarks) {
for (Snark snark : _snarks.values()) { for (Snark snark : _snarks.values()) {
torrents.add(new SHA1Hash(snark.getMetaInfo().getInfoHash())); torrents.add(new SHA1Hash(snark.getInfoHash()));
} }
synchronized (_configLock) { synchronized (_configLock) {
for (int i = 0; i < B64.length(); i++) { for (int i = 0; i < B64.length(); i++) {
......
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