mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
All tryToClose() methods should check for null arguments.
This commit is contained in:
@@ -209,6 +209,10 @@ class DroidtoothPlugin implements DuplexPlugin {
|
||||
tryToClose(socket);
|
||||
return;
|
||||
}
|
||||
if(LOG.isLoggable(INFO)) {
|
||||
String address = s.getRemoteDevice().getAddress();
|
||||
LOG.info("Connection from " + address);
|
||||
}
|
||||
callback.incomingConnectionCreated(wrapSocket(s));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user