diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-05-16 18:37:37 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-05-16 18:37:37 -0700 |
| commit | 93b673043c48ec65b8c2133cd1f0b0256719613b (patch) | |
| tree | 8c54e640fc258f4905d7fad316437ff290a9fa8f /node/NetworkConfigRequestMetaData.hpp | |
| parent | de1b74598855e5251a2a236bb6b61825ecaf8a39 (diff) | |
| download | infinitytier-93b673043c48ec65b8c2133cd1f0b0256719613b.tar.gz infinitytier-93b673043c48ec65b8c2133cd1f0b0256719613b.zip | |
Fix new binary meta-data deserialization and add some debug code (will disable later).
Diffstat (limited to 'node/NetworkConfigRequestMetaData.hpp')
| -rw-r--r-- | node/NetworkConfigRequestMetaData.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node/NetworkConfigRequestMetaData.hpp b/node/NetworkConfigRequestMetaData.hpp index 20fd80f1..2516e5e0 100644 --- a/node/NetworkConfigRequestMetaData.hpp +++ b/node/NetworkConfigRequestMetaData.hpp @@ -115,6 +115,7 @@ public: // Seek past old style meta-data while (b[p]) ++p; + ++p; if (b.template at<uint16_t>(p) != 1) throw std::invalid_argument("unrecognized version"); |
