This commit is contained in:
zzz
2014-01-04 16:38:05 +00:00
parent 2a09d5baa6
commit dc871cf1eb

View File

@@ -13,6 +13,7 @@ import net.i2p.I2PAppContext;
import net.i2p.client.streaming.I2PSocketEepGet; import net.i2p.client.streaming.I2PSocketEepGet;
import net.i2p.client.streaming.I2PSocketManager; import net.i2p.client.streaming.I2PSocketManager;
import net.i2p.crypto.SHA1; import net.i2p.crypto.SHA1;
import net.i2p.data.DataHelper;
import net.i2p.util.EepGet; import net.i2p.util.EepGet;
import net.i2p.util.I2PAppThread; import net.i2p.util.I2PAppThread;
import net.i2p.util.Log; import net.i2p.util.Log;
@@ -96,7 +97,7 @@ public class FetchAndAdd extends Snark implements EepGet.StatusListener, Runnabl
add(file); add(file);
} else { } else {
_mgr.addMessage(_("Torrent was not retrieved from {0}", urlify(_url)) + _mgr.addMessage(_("Torrent was not retrieved from {0}", urlify(_url)) +
((_failCause != null) ? (": " + _failCause) : "")); ((_failCause != null) ? (": " + DataHelper.stripHTML(_failCause)) : ""));
} }
if (file != null) if (file != null)
file.delete(); file.delete();