diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2015-03-07 05:34:31 -0800 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2015-03-07 05:38:34 -0800 |
commit | 2f10aa0fa122b089d8affbe725008f054a00fe46 (patch) | |
tree | ff176c05bac7107d27fc3220472d33a03bc29fb4 /src/net.h | |
parent | 7c3fbc34aed578398b3f180a621c671ff3837cec (diff) | |
parent | eec37136fd0f6ab80772380d8f047d98743f31f5 (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |