aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorJ Ross Nicoll <jrn@jrn.me.uk>2015-08-29 17:40:13 +0100
committerJ Ross Nicoll <jrn@jrn.me.uk>2015-08-29 17:40:13 +0100
commit9bebf60698c34502319d6a8218f2ee0c4fa72ef6 (patch)
tree21197260ba4a6e6e0251fc03fd6c7e0e07ccfce9 /src/net.cpp
parentea19c2bc3f2281ad319457c6fa518bff96af13e3 (diff)
Make sure LogPrint strings are line-terminated
Diffstat (limited to 'src/net.cpp')
-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;
}