aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2015-08-31 11:49:53 +0200
committerWladimir J. van der Laan <[email protected]>2015-08-31 11:56:18 +0200
commitf4d88c404136b410c41be936f26e8cb4e68589ca (patch)
tree21197260ba4a6e6e0251fc03fd6c7e0e07ccfce9 /src/net.cpp
parentMerge pull request #6530 (diff)
parentMake sure LogPrint strings are line-terminated (diff)
downloaddiscoin-f4d88c404136b410c41be936f26e8cb4e68589ca.tar.xz
discoin-f4d88c404136b410c41be936f26e8cb4e68589ca.zip
Merge pull request #6599
9bebf60 Make sure LogPrint strings are line-terminated (J Ross Nicoll)
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;
}