mldonkey-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-commits] Changes to mldonkey/src/networks/bittorrent/bTInterac


From: mldonkey-commits
Subject: [Mldonkey-commits] Changes to mldonkey/src/networks/bittorrent/bTInteractive.ml
Date: Sat, 12 Nov 2005 06:20:31 -0500

Index: mldonkey/src/networks/bittorrent/bTInteractive.ml
diff -u mldonkey/src/networks/bittorrent/bTInteractive.ml:1.63 
mldonkey/src/networks/bittorrent/bTInteractive.ml:1.64
--- mldonkey/src/networks/bittorrent/bTInteractive.ml:1.63      Mon Nov  7 
20:11:42 2005
+++ mldonkey/src/networks/bittorrent/bTInteractive.ml   Sat Nov 12 11:20:20 2005
@@ -332,7 +332,7 @@
                 (match c.client_bitmap with
                     None -> ()
                   | Some bitmap ->
-                      String.iter (fun s -> if s = '1' then incr fc) bitmap );
+                      Bitv.iter (fun s -> if s then incr fc) bitmap);
                 (Printf.sprintf "%d" !fc) ) ) ];
 
           Printf.bprintf buf "\\</tr\\>";




reply via email to

[Prev in Thread] Current Thread [Next in Thread]