diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-01 17:09:01 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-01 17:09:01 -0700 |
| commit | 76a95dc58fdc35037c69d915ea9fe13522edf502 (patch) | |
| tree | 5ce23adf679f2791bdd33e011026812609d651f4 /node/RemotePath.hpp | |
| parent | 5076c49210542243075556aa1ab74f33d4d50ba3 (diff) | |
| download | infinitytier-76a95dc58fdc35037c69d915ea9fe13522edf502.tar.gz infinitytier-76a95dc58fdc35037c69d915ea9fe13522edf502.zip | |
The return of peer peristence.
Diffstat (limited to 'node/RemotePath.hpp')
| -rw-r--r-- | node/RemotePath.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node/RemotePath.hpp b/node/RemotePath.hpp index 9a8a3ff8..d2f99997 100644 --- a/node/RemotePath.hpp +++ b/node/RemotePath.hpp @@ -163,8 +163,8 @@ public: _lastSend = b.template at<uint64_t>(p); p += 8; _lastReceived = b.template at<uint64_t>(p); p += 8; p += _localAddress.deserialize(b,p); - _flags = b.template at<uint16_t>(p); p += 4; - return (startAt - p); + _flags = b.template at<uint16_t>(p); p += 2; + return (p - startAt); } protected: |
