forked from I2P_Developers/i2p.i2p
* i2psnark:
- Display torrent file downloads in torrent area - Sort magnets and downloads first - Fix sorting problem when torrent dir is a symlink - Reduce max file idle time - arrow_down icon copied from console css
This commit is contained in:
@@ -250,6 +250,15 @@ public class I2PSnarkUtil {
|
||||
|
||||
public boolean connected() { return _manager != null; }
|
||||
|
||||
/**
|
||||
* For FetchAndAdd
|
||||
* @return null if not connected
|
||||
* @since 0.9.1
|
||||
*/
|
||||
public I2PSocketManager getSocketManager() {
|
||||
return _manager;
|
||||
}
|
||||
|
||||
/**
|
||||
* Destroy the destination itself
|
||||
*/
|
||||
@@ -310,7 +319,7 @@ public class I2PSnarkUtil {
|
||||
// we could use the system tmp dir but deleteOnExit() doesn't seem to work on all platforms...
|
||||
out = SecureFile.createTempFile("i2psnark", null, _tmpDir);
|
||||
} catch (IOException ioe) {
|
||||
ioe.printStackTrace();
|
||||
_log.error("temp file error", ioe);
|
||||
if (out != null)
|
||||
out.delete();
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user