mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +01:00
oops: use the first *remote* address
This commit is contained in:
parent
320db700a9
commit
37a853c8a4
1 changed files with 3 additions and 4 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue