aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorJ Ross Nicoll <[email protected]>2015-08-29 17:40:13 +0100
committerJ Ross Nicoll <[email protected]>2015-08-29 17:40:13 +0100
commit9bebf60698c34502319d6a8218f2ee0c4fa72ef6 (patch)
tree21197260ba4a6e6e0251fc03fd6c7e0e07ccfce9 /src/net.cpp
parentMerge pull request #6530 (diff)
downloaddiscoin-9bebf60698c34502319d6a8218f2ee0c4fa72ef6.tar.xz
discoin-9bebf60698c34502319d6a8218f2ee0c4fa72ef6.zip
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 8fda5140c..b61f7325a 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;
}