summaryrefslogtreecommitdiff
path: root/src/TrackerWatcherCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-03-21 07:05:49 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-03-21 07:05:49 +0000
commitde8fef01f3119719441b36c758fd5bd924bcf607 (patch)
tree61be92e32b982948d39421a4a58acfbb21e5e50c /src/TrackerWatcherCommand.cc
parent322a0d1ad7e0ab0eaae6335baf91f5423b92c7f4 (diff)
2010-03-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Defined cuid_t as int64_t. Removed texts containing "CUID#%D" from translatable texts because it is used in log and debugging purpose.
Diffstat (limited to 'src/TrackerWatcherCommand.cc')
-rw-r--r--src/TrackerWatcherCommand.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/TrackerWatcherCommand.cc b/src/TrackerWatcherCommand.cc
index b3b14f39..ba6e0e86 100644
--- a/src/TrackerWatcherCommand.cc
+++ b/src/TrackerWatcherCommand.cc
@@ -60,6 +60,7 @@
#include "DownloadContext.h"
#include "bittorrent_helper.h"
#include "a2functional.h"
+#include "util.h"
namespace aria2 {
@@ -176,8 +177,9 @@ void TrackerWatcherCommand::processTrackerResponse
command->setPieceStorage(_pieceStorage);
e->commands.push_back(command);
if(logger->debug()) {
- logger->debug("CUID#%d - Adding new command CUID#%d",
- cuid, peer->usedBy());
+ logger->debug("CUID#%s - Adding new command CUID#%s",
+ util::itos(cuid).c_str(),
+ util::itos(peer->usedBy()).c_str());
}
}
}