Make sure LogPrint strings are line-terminated

This commit is contained in:
J Ross Nicoll 2015-08-29 17:40:13 +01:00 committed by Luke Dashjr
parent 7ff9d122e4
commit e0020d4c44
1 changed files with 1 additions and 1 deletions

View File

@ -548,7 +548,7 @@ bool CNode::ReceiveMsgBytes(const char *pch, unsigned int nBytes)
return false;
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;
}