summaryrefslogtreecommitdiff
path: root/src/DHTQueryMessage.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/DHTQueryMessage.cc')
-rw-r--r--src/DHTQueryMessage.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/DHTQueryMessage.cc b/src/DHTQueryMessage.cc
index 71166005..d905b52d 100644
--- a/src/DHTQueryMessage.cc
+++ b/src/DHTQueryMessage.cc
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* In addition, as a special exception, the copyright holders give
* permission to link the code of portions of this program with the
@@ -45,8 +45,8 @@ const std::string DHTQueryMessage::Q("q");
const std::string DHTQueryMessage::A("a");
DHTQueryMessage::DHTQueryMessage(const SharedHandle<DHTNode>& localNode,
- const SharedHandle<DHTNode>& remoteNode,
- const std::string& transactionID):
+ const SharedHandle<DHTNode>& remoteNode,
+ const std::string& transactionID):
DHTAbstractMessage(localNode, remoteNode, transactionID) {}
DHTQueryMessage::~DHTQueryMessage() {}
@@ -70,11 +70,11 @@ bool DHTQueryMessage::isReply() const
std::string DHTQueryMessage::toString() const
{
return strconcat("dht query ", getMessageType(),
- " TransactionID=", util::toHex(_transactionID),
- " Remote:", _remoteNode->getIPAddress(),
- ":", util::uitos(_remoteNode->getPort()),
- ", id=", util::toHex(_remoteNode->getID(), DHT_ID_LENGTH),
- ", ", toStringOptional());
+ " TransactionID=", util::toHex(_transactionID),
+ " Remote:", _remoteNode->getIPAddress(),
+ ":", util::uitos(_remoteNode->getPort()),
+ ", id=", util::toHex(_remoteNode->getID(), DHT_ID_LENGTH),
+ ", ", toStringOptional());
}
} // namespace aria2