merge of '10cb3e6e3bbb0dac3121e53e10232efe27200229'

and 'd5b1ef74ebfbd8e8c1cd1d51c74e6ec542940ca3'
This commit is contained in:
dev
2009-10-07 15:00:17 +00:00
7 changed files with 13 additions and 2 deletions

View File

@ -334,6 +334,7 @@ public class I2PSnarkUtil {
return rv;
}
/** @param ot non-null */
public void setOpenTrackerString(String ot) {
_opts.put(PROP_OPENTRACKERS, ot);
}

View File

@ -194,7 +194,9 @@ public class SnarkManager implements Snark.CompleteListener {
_util.setProxy(eepHost, eepPort);
_util.setMaxUploaders(getInt(PROP_UPLOADERS_TOTAL, Snark.MAX_TOTAL_UPLOADERS));
_util.setMaxUpBW(getInt(PROP_UPBW_MAX, DEFAULT_MAX_UP_BW));
_util.setOpenTrackerString(_config.getProperty(I2PSnarkUtil.PROP_OPENTRACKERS));
String ot = _config.getProperty(I2PSnarkUtil.PROP_OPENTRACKERS);
if (ot != null)
_util.setOpenTrackerString(ot);
getDataDir().mkdirs();
}