Browse Source

Make sure LogPrint strings are line-terminated

0.13
J Ross Nicoll 9 years ago
parent
commit
9bebf60698
No known key found for this signature in database
GPG Key ID: 9142E5F7E533CE3B
  1. 2
      src/net.cpp

2
src/net.cpp

@ -659,7 +659,7 @@ bool CNode::ReceiveMsgBytes(const char *pch, unsigned int nBytes)
return false; return false;
if (msg.in_data && msg.hdr.nMessageSize > MAX_PROTOCOL_MESSAGE_LENGTH) { 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; return false;
} }

Loading…
Cancel
Save