aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-09-06 10:26:26 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-09-06 11:05:50 +0200
commit6eb427ed6e5686c2507a07fedfc3161aa665f65e (patch)
treeeee64402707e810ceee53150912674f854f567db
parent0c558288cbae55d256db5863646e8a3d32a9286b (diff)
parent346193bd934bf198dbfd606d8c52c60bc7967858 (diff)
Merge pull request #4839
346193b Cleanup messy error messages (R E Broadley)
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 2479beabdd..a3b31b719d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -4136,7 +4136,7 @@ bool ProcessMessages(CNode* pfrom)
// Scan for message start
if (memcmp(msg.hdr.pchMessageStart, Params().MessageStart(), MESSAGE_START_SIZE) != 0) {
- LogPrintf("\n\nPROCESSMESSAGE: INVALID MESSAGESTART\n\n");
+ LogPrintf("PROCESSMESSAGE: INVALID MESSAGESTART %s peer=%d\n", msg.hdr.GetCommand(), pfrom->id);
fOk = false;
break;
}
@@ -4145,7 +4145,7 @@ bool ProcessMessages(CNode* pfrom)
CMessageHeader& hdr = msg.hdr;
if (!hdr.IsValid())
{
- LogPrintf("\n\nPROCESSMESSAGE: ERRORS IN HEADER %s\n\n\n", hdr.GetCommand());
+ LogPrintf("PROCESSMESSAGE: ERRORS IN HEADER %s peer=%d\n", hdr.GetCommand(), pfrom->id);
continue;
}
string strCommand = hdr.GetCommand();