[freenet-dev] [freenet-cvs] r16638 - trunk/freenet/src/freenet/client

Matthew Toseland toad at amphibian.dyndns.org
Tue Dec 18 15:19:59 UTC 2007


I don't get it.

On Monday 17 December 2007 00:24, you wrote:
> Author: nextgens
> Date: 2007-12-17 00:24:38 +0000 (Mon, 17 Dec 2007)
> New Revision: 16638
> 
> Modified:
>    trunk/freenet/src/freenet/client/FECCodec.java
> Log:
> FECCodec: fix the logic
> 
> Modified: trunk/freenet/src/freenet/client/FECCodec.java
> ===================================================================
> --- trunk/freenet/src/freenet/client/FECCodec.java	2007-12-17 00:23:06 UTC 
(rev 16637)
> +++ trunk/freenet/src/freenet/client/FECCodec.java	2007-12-17 00:24:38 UTC 
(rev 16638)
> @@ -323,14 +323,13 @@
>  	public static void addToQueue(FECJob job, FECCodec codec) {
>  		synchronized(_awaitingJobs) {
>  			if(fecRunnerThread == null) {
> -				if(fecRunnerThread != null)
> -					Logger.error(FECCodec.class, "The callback died!! restarting a new 
one, please report that error.");
>  				fecRunnerThread = new Thread(fecRunner, "FEC Pool " + 
(fecPoolCounter++));
>  				fecRunnerThread.setDaemon(true);
>  				fecRunnerThread.setPriority(Thread.MIN_PRIORITY);
>  
>  				fecRunnerThread.start();
> -			}
> +			}else
> +				Logger.error(FECCodec.class, "The callback died!! restarting a new one, 
please report that error.");
>  
>  			_awaitingJobs.addFirst(job);
>  		}
> 
> _______________________________________________
> cvs mailing list
> cvs at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://emu.freenetproject.org/pipermail/devl/attachments/20071218/e43dba89/attachment.pgp 


More information about the Devl mailing list