diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2005-08-30 02:06:28 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2005-08-30 02:06:28 +0000 |
commit | c5a06cfd342c27425960d12cc1f82d0c262f3a7d (patch) | |
tree | 898b90b41e6f5de78c0016e85dbb20ab70b24880 /net/mldonkey-devel/files/patch-src::daemon::common::commonGlobals.ml | |
parent | - Update to 2.7.8 (diff) |
Update to 2.6.3
Notes
Notes:
svn path=/head/; revision=141383
Diffstat (limited to 'net/mldonkey-devel/files/patch-src::daemon::common::commonGlobals.ml')
-rw-r--r-- | net/mldonkey-devel/files/patch-src::daemon::common::commonGlobals.ml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net/mldonkey-devel/files/patch-src::daemon::common::commonGlobals.ml b/net/mldonkey-devel/files/patch-src::daemon::common::commonGlobals.ml new file mode 100644 index 000000000000..6be3259d9bc1 --- /dev/null +++ b/net/mldonkey-devel/files/patch-src::daemon::common::commonGlobals.ml @@ -0,0 +1,24 @@ +--- src/daemon/common/commonGlobals.ml 28 Aug 2005 12:18:30 -0000 1.50 ++++ src/daemon/common/commonGlobals.ml 29 Aug 2005 00:03:36 -0000 +@@ -278,7 +278,7 @@ + + let download_control = TcpBufferedSocket.create_read_bandwidth_controler + "Download" +- (!!max_hard_download_rate * 2048) (* TODO: changed from 1024 to 2048 because of bug *) ++ (!!max_hard_download_rate * 1024) + + + let _ = +@@ -288,7 +288,7 @@ + option_hook max_hard_download_rate (fun _ -> + let rate = !!max_hard_download_rate in + TcpBufferedSocket.change_rate download_control +- (rate * 2048)) (* TODO: changed from 1024 to 2048 because of bug *) ++ (rate * 1024)) + + let udp_write_controler = UdpSocket.new_bandwidth_controler upload_control + +Index: src/networks/bittorrent/bTClients.ml +=================================================================== +RCS file: /cvsroot/mldonkey/mldonkey/src/networks/bittorrent/bTClients.ml,v +retrieving revision 1.48 |