summaryrefslogtreecommitdiff
path: root/src/FileAllocationEntry.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-06-05 11:37:25 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-06-05 11:37:25 +0000
commit2722c0591f3eda48a674748b29889d1cf46d7f71 (patch)
tree152ee2c2eef2c65e583227a1d1faf2d618adb2ea /src/FileAllocationEntry.cc
parent3dd06aacfbd6c8a1a027532e34dd21c04731b309 (diff)
2007-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Make download size shown in MB, KB. * src/ConsoleDownloadEngine.h (sendStatistics) * src/Util.h, srcUtil.cc (abbrevSize): New function.
Diffstat (limited to 'src/FileAllocationEntry.cc')
-rw-r--r--src/FileAllocationEntry.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/FileAllocationEntry.cc b/src/FileAllocationEntry.cc
index 80809030..77690475 100644
--- a/src/FileAllocationEntry.cc
+++ b/src/FileAllocationEntry.cc
@@ -33,16 +33,9 @@
*/
/* copyright --> */
#include "FileAllocationEntry.h"
-#include "DownloadCommand.h"
#define BUFSIZE 16*1024
-FileAllocationEntry::~FileAllocationEntry()
-{
- --_requestGroup->numConnection;
- delete _nextDownloadCommand;
-}
-
void FileAllocationEntry::allocateChunk()
{
int32_t bufSize = BUFSIZE;