On Monday 19 May 2008 15:13, [EMAIL PROTECTED] wrote:
> Author: j16sdiz
> Date: 2008-05-19 14:13:41 +0000 (Mon, 19 May 2008)
> New Revision: 19961
> 
> Modified:
>    trunk/freenet/src/freenet/client/async/USKFetcher.java
> Log:
> fix IllegalStateException on isMetadata()
> 
> 
> Modified: trunk/freenet/src/freenet/client/async/USKFetcher.java
> ===================================================================
> --- trunk/freenet/src/freenet/client/async/USKFetcher.java    2008-05-19 
11:01:38 UTC (rev 19960)
> +++ trunk/freenet/src/freenet/client/async/USKFetcher.java    2008-05-19 
14:13:41 UTC (rev 19961)
> @@ -326,7 +326,7 @@
>                       }
>               }
>               synchronized(this) {
> -                     if(curLatest >= lastEd && !(dontUpdate && data == 
> null)) {
> +                     if (decode) {

Doh!

>                                       lastCompressionCodec = 
> block.getCompressionCodec();
>                                       lastWasMetadata = block.isMetadata();
>                                       if(keepLastData)

Attachment: pgpvdN6T0J3D0.pgp
Description: PGP signature

_______________________________________________
Devl mailing list
Devl@freenetproject.org
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to