Author: nextgens
Date: 2006-09-01 15:51:17 +0000 (Fri, 01 Sep 2006)
New Revision: 10319
Modified:
trunk/plugins/JSTUN/JSTUN.java
Log:
fix jstun plugin
Modified: trunk/plugins/JSTUN/JSTUN.java
===================================================================
--- trunk/plugins/JSTUN/JSTUN.java 2006-09-01 15:30:33 UTC (rev 10318)
+++ trunk/plugins/JSTUN/JSTUN.java 2006-09-01 15:51:17 UTC (rev 10319)
@@ -40,7 +40,7 @@
for(int i=0;i<publicSTUNServers.length;i++)
v.add(publicSTUNServers[i]);
while(!v.isEmpty()) {
- String stunServer = v.remove(r.nextInt(v.size()));
+ String stunServer = (String)
v.remove(r.nextInt(v.size()));
try {
DiscoveryTest test = new
DiscoveryTest(iaddress, stunServer, 3478);
// iphone-stun.freenet.de:3478
@@ -59,6 +59,7 @@
e.printStackTrace();
}
}
+ return null;
}
private DetectedIP convert(DiscoveryInfo info) {