From 964eedf887dad73a08f33bf0d8452d8ae6839ef6 Mon Sep 17 00:00:00 2001 From: eehouse Date: Sat, 1 May 2010 02:50:25 +0000 Subject: [PATCH] get port from preference; don't hardcode --- .../XWords4/src/org/eehouse/android/xw4/jni/CommsAddrRec.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/CommsAddrRec.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/CommsAddrRec.java index c0308b2b9..b01dbcb89 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/CommsAddrRec.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/CommsAddrRec.java @@ -54,7 +54,7 @@ public class CommsAddrRec { conType = CommsConnType.COMMS_CONN_RELAY; ip_relay_invite = "Room 1"; ip_relay_hostName = CommonPrefs.getDefaultRelayHost(); - ip_relay_port = 10999; + ip_relay_port = CommonPrefs.getDefaultRelayPort(); } public CommsAddrRec( final CommsAddrRec src )