mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
test to avoid NPE
This commit is contained in:
parent
a5387be742
commit
c6d3759373
1 changed files with 3 additions and 1 deletions
|
@ -722,7 +722,9 @@ public class ConnStatusHandler {
|
|||
fcmMsg );
|
||||
break;
|
||||
case COMMS_CONN_MQTT:
|
||||
result = String.format("DevID: %s", addr.mqtt_devID );
|
||||
if ( null != addr ) {
|
||||
result = String.format("DevID: %s", addr.mqtt_devID );
|
||||
}
|
||||
break;
|
||||
case COMMS_CONN_P2P:
|
||||
result = WiDirService.formatNetStateInfo();
|
||||
|
|
Loading…
Reference in a new issue