* 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:
zzz
2012-06-11 12:04:40 +00:00
parent 7469e9c63d
commit 30e2f73d5f
10 changed files with 421 additions and 97 deletions

View File

@@ -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;