I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Verified Commit af4c41ef authored by zzz's avatar zzz
Browse files

UPnP: Race-proof the fix

parent 33397433
No related branches found
No related tags found
No related merge requests found
......@@ -203,9 +203,10 @@ public class HTTPUSocket
}
catch (Exception e) {
// I2P prevent NPE android gitlab #1
if (ssdpUniSock != null) {
Debug.warning("addr = " +ssdpUniSock.getLocalAddress().getHostName());
Debug.warning("port = " + ssdpUniSock.getLocalPort());
DatagramSocket sock = ssdpUniSock;
if (sock != null) {
Debug.warning("addr = " + sock.getLocalAddress().getHostName());
Debug.warning("port = " + sock.getLocalPort());
}
Debug.warning(e);
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment