diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-09-27 15:15:32 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-09-27 15:15:32 +0000 |
commit | 4b654f65a3fa7b3e222887e17e98a7e29681c963 (patch) | |
tree | 609750a3a255de369da8c13d3bd417947a6b2eb6 /contrib/epee/include/net/abstract_tcp_server2.inl | |
parent | Merge pull request #5549 (diff) | |
download | monero-4b654f65a3fa7b3e222887e17e98a7e29681c963.tar.xz |
abstract_tcp_server2: log pointer, not contents, where appropriate
Diffstat (limited to 'contrib/epee/include/net/abstract_tcp_server2.inl')
-rw-r--r-- | contrib/epee/include/net/abstract_tcp_server2.inl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/include/net/abstract_tcp_server2.inl b/contrib/epee/include/net/abstract_tcp_server2.inl index 8d96e4a84..452295614 100644 --- a/contrib/epee/include/net/abstract_tcp_server2.inl +++ b/contrib/epee/include/net/abstract_tcp_server2.inl @@ -557,7 +557,7 @@ PRAGMA_WARNING_DISABLE_VS(4355) while (!message.empty()) { byte_slice chunk = message.take_slice(chunksize_good); - MDEBUG("chunk_start="<<chunk.data()<<" ptr="<<message_data<<" pos="<<(chunk.data() - message_data)); + MDEBUG("chunk_start="<<(void*)chunk.data()<<" ptr="<<message_data<<" pos="<<(chunk.data() - message_data)); MDEBUG("part of " << message.size() << ": pos="<<(chunk.data() - message_data) << " len="<<chunk.size()); bool ok = do_send_chunk(std::move(chunk)); // <====== *** |