Correct log verbiage for put_item

This commit is contained in:
Amir Abrams 2019-07-05 13:01:16 -05:00 committed by Arvid Norberg
parent bcb26fd638
commit 8420f01eb4
1 changed files with 2 additions and 2 deletions

View File

@ -536,7 +536,7 @@ void node::put_item(sha1_hash const& target, entry const& data, std::function<vo
#ifndef TORRENT_DISABLE_LOGGING
if (m_observer != nullptr && m_observer->should_log(dht_logger::node))
{
m_observer->log(dht_logger::node, "starting get for [ hash: %s ]"
m_observer->log(dht_logger::node, "starting put for [ hash: %s ]"
, aux::to_hex(target).c_str());
}
#endif
@ -560,7 +560,7 @@ void node::put_item(public_key const& pk, std::string const& salt
{
char hex_key[65];
aux::to_hex(pk.bytes, hex_key);
m_observer->log(dht_logger::node, "starting get for [ key: %s ]", hex_key);
m_observer->log(dht_logger::node, "starting put for [ key: %s ]", hex_key);
}
#endif