fixed dangerous comparison (== != .equals) [thanks mihi!]
This commit is contained in:
@ -199,7 +199,7 @@ public class I2PTunnelHTTPClient extends I2PTunnelClientBase implements Runnable
|
|||||||
if (host.toLowerCase().endsWith(".i2p")) {
|
if (host.toLowerCase().endsWith(".i2p")) {
|
||||||
destination = host;
|
destination = host;
|
||||||
host = getHostName(destination);
|
host = getHostName(destination);
|
||||||
if (host == "i2p") {
|
if ( (host != null) && ("i2p".equals(host)) ) {
|
||||||
int pos2;
|
int pos2;
|
||||||
if ((pos2 = line.indexOf("?")) != -1) {
|
if ((pos2 = line.indexOf("?")) != -1) {
|
||||||
// Try to find an address helper in the fragments
|
// Try to find an address helper in the fragments
|
||||||
|
Reference in New Issue
Block a user