Changeset 46438b7


Ignore:
Timestamp:
Mar 6, 2012 1:59:32 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
e1c3979a
Parents:
d7c1e97
Message:
  • i2psnark: Fix NPE on magnet link addition
File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/TrackerClient.java

    rd7c1e97 r46438b7  
    157157    }
    158158    List tlist = _util.getOpenTrackers();
    159     if (tlist != null && !meta.isPrivate()) {
     159    if (tlist != null && (meta == null || !meta.isPrivate())) {
    160160        for (int i = 0; i < tlist.size(); i++) {
    161161             String url = (String)tlist.get(i);
Note: See TracChangeset for help on using the changeset viewer.