oops: use the first *remote* address

This commit is contained in:
Eric House 2018-12-27 22:10:24 -08:00
parent 320db700a9
commit 37a853c8a4

View file

@ -1485,11 +1485,10 @@ public class BoardDelegate extends DelegateBase
public void onStatusClicked()
{
CommsAddrRec addr = new CommsAddrRec();
XwJNI.comms_getAddr( m_jniGamePtr, addr );
CommsAddrRec[] addrs = XwJNI.comms_getAddrs( m_jniGamePtr );
final String msg = ConnStatusHandler
.getStatusText( m_activity, m_connTypes, addr );
.getStatusText( m_activity, m_connTypes, addrs[0] );
post( new Runnable() {
@Override
public void run() {