|
From: | orbit |
Subject: | [Mldonkey-users] [patch #5759] OV/KAD: improved stats command and misc |
Date: | Sun, 25 Feb 2007 00:55:22 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-2) |
Follow-up Comment #1, patch #5759 (project mldonkey): I'm just learning ocaml but these lines in donkeyOvernet.ml look awkward to me: @ 855 , 861 @ let b = prebuckets.(!n_used_buckets) in incr n_used_buckets; for i = 1 to Fifo.length b do let pp = Fifo.take b in let bucket = bucket_number p.peer_md4 in Fifo.put (if bucket >= !n_used_buckets then prebuckets.(!n_used_buckets) else b) pp in the if clause the then and else are quite the same or am I wrong? _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?5759> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |