aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2015-03-07 05:34:31 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2015-03-07 05:38:34 -0800
commit2f10aa0fa122b089d8affbe725008f054a00fe46 (patch)
treeff176c05bac7107d27fc3220472d33a03bc29fb4 /src/net.h
parent7c3fbc34aed578398b3f180a621c671ff3837cec (diff)
parenteec37136fd0f6ab80772380d8f047d98743f31f5 (diff)
Merge pull request #5151
eec3713 make CMessageHeader a dumb storage class (Cory Fields)
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 24275d4a9d..7dd02b84ef 100644
--- a/src/net.h
+++ b/src/net.h
@@ -185,7 +185,7 @@ public:
int64_t nTime; // time (in microseconds) of message receipt.
- CNetMessage(int nTypeIn, int nVersionIn) : hdrbuf(nTypeIn, nVersionIn), vRecv(nTypeIn, nVersionIn) {
+ CNetMessage(const CMessageHeader::MessageStartChars& pchMessageStartIn, int nTypeIn, int nVersionIn) : hdrbuf(nTypeIn, nVersionIn), hdr(pchMessageStartIn), vRecv(nTypeIn, nVersionIn) {
hdrbuf.resize(24);
in_data = false;
nHdrPos = 0;