* Matthew Toseland <toad at amphibian.dyndns.org> [2008-08-22 14:32:44]:

> On Tuesday 12 August 2008 18:11, nextgens at freenetproject.org wrote:
> > Author: nextgens
> > Date: 2008-08-12 17:11:25 +0000 (Tue, 12 Aug 2008)
> > New Revision: 21770
> > 
> > Modified:
> >    trunk/freenet/src/freenet/clients/http/FirstTimeWizardToadlet.java
> >    trunk/freenet/src/freenet/config/IntOption.java
> >    trunk/freenet/src/freenet/config/LongOption.java
> > Log:
> > Fix the code, strip the "ib" part of config options
> > 
> > Modified: trunk/freenet/src/freenet/clients/http/FirstTimeWizardToadlet.java
> > ===================================================================
> > --- trunk/freenet/src/freenet/clients/http/FirstTimeWizardToadlet.java      
> 2008-08-12 16:39:59 UTC (rev 21769)
> > +++ trunk/freenet/src/freenet/clients/http/FirstTimeWizardToadlet.java      
> 2008-08-12 17:11:25 UTC (rev 21770)
> > @@ -315,14 +315,14 @@
> >                     int upstreamBWLimit = (bwIndicator != null ? 
> bwIndicator.getUpstramMaxBitRate() : -1);
> >                     if((bwIndicator != null) && (upstreamBWLimit > 0)) {
> >                             int bytes = (upstreamBWLimit / 8) - 1;
> > -                           String upstreamBWLimitString = (bytes < 16384 ? 
> > "8K" : 
> SizeUtil.formatSize(Math.round(bytes / 2)));
> > +                           String upstreamBWLimitString = (bytes < 16384 ? 
> > "8K" : 
> SizeUtil.formatSize(bytes / 2));
> 
> Should stripBytes here, no?
> 

Doesn't exist on HEAD.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20080822/6276cb0c/attachment.pgp>

Reply via email to