mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 06:43:28 +01:00
Merge pull request #5937
4b654f6
abstract_tcp_server2: log pointer, not contents, where appropriate (moneromooo-monero)
This commit is contained in:
commit
4118e4b1e9
@ -559,7 +559,7 @@ PRAGMA_WARNING_DISABLE_VS(4355)
|
|||||||
while (!message.empty()) {
|
while (!message.empty()) {
|
||||||
byte_slice chunk = message.take_slice(chunksize_good);
|
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());
|
MDEBUG("part of " << message.size() << ": pos="<<(chunk.data() - message_data) << " len="<<chunk.size());
|
||||||
|
|
||||||
bool ok = do_send_chunk(std::move(chunk)); // <====== ***
|
bool ok = do_send_chunk(std::move(chunk)); // <====== ***
|
||||||
|
Loading…
Reference in New Issue
Block a user