Skip to content

Commit e0020d4

Browse files
J Ross Nicollluke-jr
authored andcommitted
Make sure LogPrint strings are line-terminated
1 parent 7ff9d12 commit e0020d4

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

550550
if (msg.in_data && msg.hdr.nMessageSize > MAX_PROTOCOL_MESSAGE_LENGTH) {
551-
LogPrint("net", "Oversized message from peer=%i, disconnecting", GetId());
551+
LogPrint("net", "Oversized message from peer=%i, disconnecting\n", GetId());
552552
return false;
553553
}
554554

0 commit comments

Comments
 (0)