diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-03-31 15:41:27 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-03-31 15:41:27 +0000 |
| commit | 3d3363a544290906b577c43583908ca00b2b0b0f (patch) | |
| tree | 49e1964a467de391f334bc173249f6f102ec84ba /src/TrackerInitCommand.cc | |
| parent | f3096f8cd8693e472584bcd3e4dc0cebc154148c (diff) | |
Diffstat (limited to 'src/TrackerInitCommand.cc')
| -rw-r--r-- | src/TrackerInitCommand.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TrackerInitCommand.cc b/src/TrackerInitCommand.cc index 130c5a26..4f254c06 100644 --- a/src/TrackerInitCommand.cc +++ b/src/TrackerInitCommand.cc @@ -57,8 +57,8 @@ bool TrackerInitCommand::execute() { "info_hash="+Util::urlencode(e->torrentMan->getInfoHash(), 20)+"&"+ "peer_id="+e->torrentMan->peerId+"&"+ "port="+Util::itos(e->torrentMan->getPort())+"&"+ - "uploaded="+Util::llitos(e->torrentMan->getSessionUploadedSize())+"&"+ - "downloaded="+Util::llitos(e->torrentMan->getSessionDownloadedSize())+"&"+ + "uploaded="+Util::llitos(e->torrentMan->getSessionUploadLength())+"&"+ + "downloaded="+Util::llitos(e->torrentMan->getSessionDownloadLength())+"&"+ "left="+(e->torrentMan->getTotalLength()-e->torrentMan->getDownloadLength() <= 0 ? "0" : Util::llitos(e->torrentMan->getTotalLength()-e->torrentMan->getDownloadLength()))+"&"+ "compact=1"; |
