From 40d5c1e763206bfe1d2e4aa9508ec8b3f4e66641 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 7 May 2009 08:40:45 +0000 Subject: 2009-05-07 Tatsuhiro Tsujikawa Don't retrieve PREF_MAX_DOWNLOAD_LIMIT and PREF_MAX_UPLOAD_LIMIT from option directly. Instead, get them from RequestGroup. * src/ActivePeerConnectionCommand.cc * src/ActivePeerConnectionCommand.h * src/PeerReceiveHandshakeCommand.cc * src/RequestGroup.h --- src/ActivePeerConnectionCommand.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/ActivePeerConnectionCommand.h') diff --git a/src/ActivePeerConnectionCommand.h b/src/ActivePeerConnectionCommand.h index aae2e5dc..f99f07ce 100644 --- a/src/ActivePeerConnectionCommand.h +++ b/src/ActivePeerConnectionCommand.h @@ -63,7 +63,6 @@ private: DownloadEngine* e; Time checkPoint; unsigned int _thresholdSpeed; // UNIT: byte/sec - unsigned int _maxUploadSpeedLimit; unsigned int _numNewConnection; // the number of the connection to establish. public: ActivePeerConnectionCommand(int cuid, -- cgit