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/SimpleBtMessage.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/SimpleBtMessage.cc')
| -rw-r--r-- | src/SimpleBtMessage.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/SimpleBtMessage.cc b/src/SimpleBtMessage.cc index 99974e33..bd155552 100644 --- a/src/SimpleBtMessage.cc +++ b/src/SimpleBtMessage.cc @@ -37,6 +37,7 @@ #include "Peer.h" #include "PeerConnection.h" #include "Logger.h" +#include "util.h" namespace aria2 { @@ -55,7 +56,8 @@ void SimpleBtMessage::send() { if(!sendingInProgress) { if(logger->info()) { logger->info(MSG_SEND_PEER_MESSAGE, - cuid, peer->ipaddr.c_str(), peer->port, toString().c_str()); + util::itos(cuid).c_str(), + peer->ipaddr.c_str(), peer->port, toString().c_str()); } unsigned char* msg = createMessage(); size_t msgLength = getMessageLength(); |
