aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-08-31 11:49:53 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-08-31 11:56:18 +0200
commitf4d88c404136b410c41be936f26e8cb4e68589ca (patch)
tree21197260ba4a6e6e0251fc03fd6c7e0e07ccfce9 /src
parentea19c2bc3f2281ad319457c6fa518bff96af13e3 (diff)
parent9bebf60698c34502319d6a8218f2ee0c4fa72ef6 (diff)
Merge pull request #6599
9bebf60 Make sure LogPrint strings are line-terminated (J Ross Nicoll)
Diffstat (limited to 'src')
-rw-r--r--src/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 8fda5140ca..b61f7325a9 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -659,7 +659,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;
}