On Monday 10 November 2008 02:23, [EMAIL PROTECTED] wrote:
> Author: xor
> Date: 2008-11-10 02:23:00 +0000 (Mon, 10 Nov 2008)
> New Revision: 23459
> 
> Modified:
>    trunk/plugins/WoT/Identity.java
>    trunk/plugins/WoT/IdentityFetcher.java
>    trunk/plugins/WoT/IdentityParser.java
>    trunk/plugins/WoT/OwnIdentity.java
>    trunk/plugins/WoT/Trust.java
>    trunk/plugins/WoT/WoT.java
> Log:
> 
> 
> Modified: trunk/plugins/WoT/IdentityFetcher.java
> ===================================================================
> --- trunk/plugins/WoT/IdentityFetcher.java    2008-11-09 23:12:34 UTC (rev 
23458)
> +++ trunk/plugins/WoT/IdentityFetcher.java    2008-11-10 02:23:00 UTC (rev 
23459)
> @@ -130,22 +140,14 @@
>               }
>               // Errors we can't/want deal with
>               Logger.error(this, "Fetch failed for "+ state.getURI(), e);
> -             requests.remove(state); 
> +             requests.remove(state);
> +             try {
> +                     Identity id = Identity.getByURI(db, state.getURI());
> +                     identities.remove(id);

You *really* should check the return value here. I've had wierd bugs with this 
sort of thing.

> +             } catch(UnknownIdentityException ex) {}
> +             
>       }

Attachment: pgpokt0Utg9pG.pgp
Description: PGP signature

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

Reply via email to