aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJ Ross Nicoll <jrn@jrn.me.uk>2015-08-29 17:40:13 +0100
committerLuke Dashjr <luke-jr+git@utopios.org>2015-09-22 00:43:11 +0000
commite0020d4c44039b50564a0539af028fa18efe5b63 (patch)
tree93f5bd028df7fd8d20237128084736f5b4b40cf4 /src
parent7ff9d122e4c3b4076146631893194b01642c58e2 (diff)
downloadbitcoin-e0020d4c44039b50564a0539af028fa18efe5b63.tar.xz
Make sure LogPrint strings are line-terminated
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 2519006865..99e0ca9f75 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -548,7 +548,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;
}