On Monday 19 May 2008 15:13, j16sdiz at freenetproject.org 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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20080519/c8c479b0/attachment.pgp>

Reply via email to