diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-03-21 17:28:57 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-03-21 17:28:57 +0000 |
| commit | 8ad0037ee28413f0928d6b5b8d6e3513dff118cb (patch) | |
| tree | 42e6b2c5dafb1c8fa9c14058bcb1c0c4e545c358 /src/TrackerInitCommand.cc | |
| parent | 4b6181b6d17f8beb8252262bc5de08c68a2ecd3a (diff) | |
Diffstat (limited to 'src/TrackerInitCommand.cc')
| -rw-r--r-- | src/TrackerInitCommand.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TrackerInitCommand.cc b/src/TrackerInitCommand.cc index 66d01b3d..1f3b05c2 100644 --- a/src/TrackerInitCommand.cc +++ b/src/TrackerInitCommand.cc @@ -51,7 +51,7 @@ bool TrackerInitCommand::execute() { "port="+Util::itos(e->torrentMan->getPort())+"&"+ "uploaded="+Util::llitos(e->torrentMan->getUploadedSize())+"&"+ "downloaded="+Util::llitos(e->torrentMan->getDownloadedSize())+"&"+ - "left="+Util::llitos(e->torrentMan->totalSize-e->torrentMan->getDownloadedSize())+"&"+ + "left="+(e->torrentMan->downloadComplete() ? "0" : Util::llitos(e->torrentMan->totalSize-e->torrentMan->getDownloadedSize()))+"&"+ "compact=1"; if(!event.empty()) { url += string("&")+"event="+event; |
