summaryrefslogtreecommitdiff
path: root/src/TrackerUpdateCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-03-31 15:27:21 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-03-31 15:27:21 +0000
commitf02143579b6568e131c9694f0968c85af2c33514 (patch)
tree695f8cc589fd274fcc3531ff5ef142a825edad34 /src/TrackerUpdateCommand.cc
parent180153592d56dc590ee3124822e09a97e8fdcf13 (diff)
renamed TorrentMan::totalSize to TorrentMan::totalLength and added its
accessors.
Diffstat (limited to 'src/TrackerUpdateCommand.cc')
-rw-r--r--src/TrackerUpdateCommand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TrackerUpdateCommand.cc b/src/TrackerUpdateCommand.cc
index e9c33a0b..c5b1f001 100644
--- a/src/TrackerUpdateCommand.cc
+++ b/src/TrackerUpdateCommand.cc
@@ -88,7 +88,7 @@ bool TrackerUpdateCommand::execute() {
snprintf(ipaddr, sizeof(ipaddr), "%d.%d.%d.%d",
ipaddr1, ipaddr2, ipaddr3, ipaddr4);
Peer* peer = new Peer(ipaddr, port, e->torrentMan->pieceLength,
- e->torrentMan->totalSize);
+ e->torrentMan->getTotalLength());
if(e->torrentMan->addPeer(peer)) {
e->logger->debug("CUID#%d - adding peer %s:%d", cuid,
peer->ipaddr.c_str(), peer->port);