2011/11/24 Sven Eckelmann sven@narfation.org:
On Thursday 24 November 2011 14:06:01 Daniele Furlan wrote:
What do you think about some information, reasoning, examples,....
Ok, using letter a,b,c,k instead of:
c = total_count a = neigh_rq_count b = orig_eq_count k = TQ_LOCAL_BIDRECT_SEND_MINIMUM
then the code do the following:
c = min (a,b) and then check this condition: (c<k OR a<k)
now
if (c<k)=TRUE then (a<k) is not checked if (c<k)=FALSE (so c>=k) then (a<k)=FALSE because (a>=c>=k)
so the part that check (a<k) is useless.
Thanks, Sven