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/
_______________________________________________
Mldonkey-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/mldonkey-users