diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-03-31 14:58:36 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-03-31 14:58:36 +0000 |
| commit | 8b94be74759dac00a8bbf528860f1484e1bad5d3 (patch) | |
| tree | 632bfd3fa0ce4d0ea9bafa9bdfa19a241cfeefbf /src/TrackerInitCommand.cc | |
| parent | 133f759a0db70861cea143d408283701a87f554e (diff) | |
rename TorrentMan::downloadedSize to TorrentMan::downloadLength
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 374a1f66..79a53e87 100644 --- a/src/TrackerInitCommand.cc +++ b/src/TrackerInitCommand.cc @@ -59,8 +59,8 @@ bool TrackerInitCommand::execute() { "port="+Util::itos(e->torrentMan->getPort())+"&"+ "uploaded="+Util::llitos(e->torrentMan->getSessionUploadedSize())+"&"+ "downloaded="+Util::llitos(e->torrentMan->getSessionDownloadedSize())+"&"+ - "left="+(e->torrentMan->totalSize-e->torrentMan->getDownloadedSize() <= 0 - ? "0" : Util::llitos(e->torrentMan->totalSize-e->torrentMan->getDownloadedSize()))+"&"+ + "left="+(e->torrentMan->totalSize-e->torrentMan->getDownloadLength() <= 0 + ? "0" : Util::llitos(e->torrentMan->totalSize-e->torrentMan->getDownloadLength()))+"&"+ "compact=1"; if(!event.empty()) { url += string("&")+"event="+event; |
