mldonkey-commits
[Top][All Lists]
Advanced

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

[Mldonkey-commits] mldonkey distrib/ChangeLog src/networks/bittorr...


From: mldonkey-commits
Subject: [Mldonkey-commits] mldonkey distrib/ChangeLog src/networks/bittorr...
Date: Mon, 31 Mar 2008 19:58:55 +0000

CVSROOT:        /sources/mldonkey
Module name:    mldonkey
Changes by:     spiralvoice <spiralvoice>       08/03/31 19:58:55

Modified files:
        distrib        : ChangeLog 
        src/networks/bittorrent: bTClients.ml 

Log message:
        patch #6465

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/mldonkey/distrib/ChangeLog?cvsroot=mldonkey&r1=1.1371&r2=1.1372
http://cvs.savannah.gnu.org/viewcvs/mldonkey/src/networks/bittorrent/bTClients.ml?cvsroot=mldonkey&r1=1.97&r2=1.98

Patches:
Index: distrib/ChangeLog
===================================================================
RCS file: /sources/mldonkey/mldonkey/distrib/ChangeLog,v
retrieving revision 1.1371
retrieving revision 1.1372
diff -u -b -r1.1371 -r1.1372
--- distrib/ChangeLog   31 Mar 2008 07:58:16 -0000      1.1371
+++ distrib/ChangeLog   31 Mar 2008 19:58:55 -0000      1.1372
@@ -15,6 +15,8 @@
 =========
 
 2008/03/31
+6465: BT: Send correct downloaded value when download starts to tracker
+      (colchaodemola)
 6477: Use $MLDONKEY_DIR/mlnet_tmp instead of /tmp
 - This patch fixes problems with hash checking of multifile BT
   downloads when /tmp is too small.

Index: src/networks/bittorrent/bTClients.ml
===================================================================
RCS file: /sources/mldonkey/mldonkey/src/networks/bittorrent/bTClients.ml,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -b -r1.97 -r1.98
--- src/networks/bittorrent/bTClients.ml        1 Sep 2007 13:53:31 -0000       
1.97
+++ src/networks/bittorrent/bTClients.ml        31 Mar 2008 19:58:55 -0000      
1.98
@@ -105,7 +105,7 @@
         let left = file_size file -- local_downloaded in
         match event with
         | "completed" -> [("event", "completed")],false,local_downloaded,zero
-        | "started" -> [("event", "started")],true,local_downloaded, left
+        | "started" -> [("event", "started")],true,zero, left
         | "stopped" -> [("event", "stopped")],false,local_downloaded, left
         | _ -> [],true,local_downloaded, left
   in




reply via email to

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