Changeset 92a26f6


Ignore:
Timestamp:
Nov 17, 2017 8:34:51 PM (3 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
d5cc1d8
Parents:
d04050e
Message:

Addressbook: Fix adding alternates after importing an empty book (ticket #2072)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/addressbook/java/src/net/i2p/router/naming/BlockfileNamingService.java

    rd04050e r92a26f6  
    250250            int total = 0;
    251251            for (String hostsfile : getFilenames(list)) {
     252                _lists.add(hostsfile);
    252253                File file = new File(_context.getRouterDir(), hostsfile);
    253254                if ((!file.exists()) || !(file.canRead()))
     
    289290                total += count;
    290291                _log.logAlways(Log.INFO, "Migrating " + count + " hosts from " + file + " to new hosts database");
    291                 _lists.add(hostsfile);
    292292            }
    293293            if (_log.shouldLog(Log.INFO))
Note: See TracChangeset for help on using the changeset viewer.