forked from I2P_Developers/i2p.i2p
fix null check
This commit is contained in:
@ -241,7 +241,7 @@ public class I2PTunnelServer extends I2PTunnelTask implements Runnable {
|
||||
*/
|
||||
private I2PSession addSubsession(I2PSocketManager sMgr, String alt) {
|
||||
File altFile = TunnelController.filenameToFile(alt);
|
||||
if (alt == null)
|
||||
if (altFile == null)
|
||||
return null;
|
||||
I2PSession sess = sMgr.getSession();
|
||||
if (sess.getMyDestination().getSigType() != SigType.DSA_SHA1)
|
||||
|
Reference in New Issue
Block a user