Skip to content

Commit f4d88c4

Browse files
committed
Merge pull request #6599
9bebf60 Make sure LogPrint strings are line-terminated (J Ross Nicoll)
2 parents ea19c2b + 9bebf60 commit f4d88c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ bool CNode::ReceiveMsgBytes(const char *pch, unsigned int nBytes)
659659
return false;
660660

661661
if (msg.in_data && msg.hdr.nMessageSize > MAX_PROTOCOL_MESSAGE_LENGTH) {
662-
LogPrint("net", "Oversized message from peer=%i, disconnecting", GetId());
662+
LogPrint("net", "Oversized message from peer=%i, disconnecting\n", GetId());
663663
return false;
664664
}
665665

0 commit comments

Comments
 (0)