mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
don't connect proxy unless there's at least one relay game
This commit is contained in:
parent
33d60452a3
commit
3b52f7bbd0
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ public class RelayService extends Service {
|
|||
public void run() {
|
||||
|
||||
ArrayList<byte[]>ids = collectIDs();
|
||||
if ( null != ids ) {
|
||||
if ( null != ids && 0 < ids.size() ) {
|
||||
try {
|
||||
SocketFactory factory = SocketFactory.getDefault();
|
||||
InetAddress addr = InetAddress.getByName( proxy_addr );
|
||||
|
|
Loading…
Add table
Reference in a new issue