diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-03-21 07:05:49 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-03-21 07:05:49 +0000 |
| commit | de8fef01f3119719441b36c758fd5bd924bcf607 (patch) | |
| tree | 61be92e32b982948d39421a4a58acfbb21e5e50c /src/DefaultBtMessageDispatcher.cc | |
| parent | 322a0d1ad7e0ab0eaae6335baf91f5423b92c7f4 (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/DefaultBtMessageDispatcher.cc')
| -rw-r--r-- | src/DefaultBtMessageDispatcher.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/DefaultBtMessageDispatcher.cc b/src/DefaultBtMessageDispatcher.cc index b33decb0..422d4424 100644 --- a/src/DefaultBtMessageDispatcher.cc +++ b/src/DefaultBtMessageDispatcher.cc @@ -54,6 +54,7 @@ #include "a2algo.h" #include "RequestGroupMan.h" #include "RequestGroup.h" +#include "util.h" namespace aria2 { @@ -152,7 +153,7 @@ public: { if(_logger->debug()) { _logger->debug(MSG_DELETING_REQUEST_SLOT, - _cuid, + util::itos(_cuid).c_str(), slot.getIndex(), slot.getBlockIndex()); _logger->debug("index=%d, begin=%d", slot.getIndex(), slot.getBegin()); @@ -203,7 +204,7 @@ public: if(!_peer->isInPeerAllowedIndexSet(slot.getIndex())) { if(_logger->debug()) { _logger->debug(MSG_DELETING_REQUEST_SLOT_CHOKED, - _cuid, + util::itos(_cuid).c_str(), slot.getIndex(), slot.getBlockIndex()); _logger->debug("index=%d, begin=%d", slot.getIndex(), slot.getBegin()); @@ -278,7 +279,7 @@ public: if(slot.isTimeout(_requestTimeout)) { if(_logger->debug()) { _logger->debug(MSG_DELETING_REQUEST_SLOT_TIMEOUT, - _cuid, + util::itos(_cuid).c_str(), slot.getBlockIndex()); _logger->debug("index=%d, begin=%d", slot.getIndex(), slot.getBegin()); } @@ -287,7 +288,7 @@ public: } else if(slot.getPiece()->hasBlock(slot.getBlockIndex())) { if(_logger->debug()) { _logger->debug(MSG_DELETING_REQUEST_SLOT_ACQUIRED, - _cuid, + util::itos(_cuid).c_str(), slot.getBlockIndex()); _logger->debug("index=%d, begin=%d", slot.getIndex(), slot.getBegin()); } |
