Browse Source

Merge pull request #6599

9bebf60 Make sure LogPrint strings are line-terminated (J Ross Nicoll)
0.13
Wladimir J. van der Laan 9 years ago
parent
commit
f4d88c4041
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/net.cpp

2
src/net.cpp

@ -659,7 +659,7 @@ bool CNode::ReceiveMsgBytes(const char *pch, unsigned int nBytes) @@ -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;
}

Loading…
Cancel
Save