updated boundary condition (thanks mule/oOo)

This commit is contained in:
jrandom
2004-08-08 01:35:45 +00:00
committed by zzz
parent 8d7786e97d
commit 4dfcf1c1c8

View File

@ -120,7 +120,7 @@ public class I2PTunnelHTTPClient extends I2PTunnelClientBase implements Runnable
l.log("Proxy list is emtpy - no outproxy available");
return null;
}
int index = I2PAppContext.getGlobalContext().random().nextInt(proxyList.size()-1);
int index = I2PAppContext.getGlobalContext().random().nextInt(proxyList.size());
return (String)proxyList.get(index);
}