mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Make sure LogPrint strings are line-terminated
This commit is contained in:
parent
ea19c2bc3f
commit
9bebf60698
1 changed files with 1 additions and 1 deletions
|
|
@ -659,7 +659,7 @@ bool CNode::ReceiveMsgBytes(const char *pch, unsigned int nBytes)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (msg.in_data && msg.hdr.nMessageSize > MAX_PROTOCOL_MESSAGE_LENGTH) {
|
if (msg.in_data && msg.hdr.nMessageSize > MAX_PROTOCOL_MESSAGE_LENGTH) {
|
||||||
LogPrint("net", "Oversized message from peer=%i, disconnecting", GetId());
|
LogPrint("net", "Oversized message from peer=%i, disconnecting\n", GetId());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue