* i2psnark: Support ports in announce URLs (ticket #1283)

This commit is contained in:
zzz
2014-05-17 22:10:10 +00:00
parent 8371b8f806
commit f69b757305

View File

@ -866,7 +866,7 @@ public class TrackerClient implements Runnable {
} catch (MalformedURLException mue) {
return null;
}
if (url.getPort() >= 0 || !url.getProtocol().equals("http"))
if (!url.getProtocol().equals("http"))
return null;
String host = url.getHost();
if (host.endsWith(".i2p"))