On Tuesday 27 November 2007 20:20, you wrote:
> Author: nextgens
> Date: 2007-11-27 20:20:22 +0000 (Tue, 27 Nov 2007)
> New Revision: 15994
> 
> Modified:
>    trunk/freenet/src/freenet/config/PersistentConfig.java
> Log:
> PersistentConfig: trim() lines we read from the config file. I don't see any 
reason why we would need trailing spaces... and that might lead to weird bugs 
like the one I've just fixed in the installer.

Hmmm...
> 
> Modified: trunk/freenet/src/freenet/config/PersistentConfig.java
> ===================================================================
> --- trunk/freenet/src/freenet/config/PersistentConfig.java    2007-11-27 
19:50:31 UTC (rev 15993)
> +++ trunk/freenet/src/freenet/config/PersistentConfig.java    2007-11-27 
20:20:22 UTC (rev 15994)
> @@ -67,7 +67,7 @@
>                       if(val == null) return;
>               }
>               try {
> -                     o.setInitialValue(val);
> +                     o.setInitialValue(val.trim());
>               } catch (InvalidConfigValueException e) {
>                       Logger.error(this, "Could not parse config option 
> "+name+": "+e, e);
>               }
> 
> _______________________________________________
> cvs mailing list
> [EMAIL PROTECTED]
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> 
> 

Attachment: pgpbdcc75f0cG.pgp
Description: PGP signature

_______________________________________________
Devl mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to