diff options
author | Othmar Gsenger <otti@anytun.org> | 2007-12-11 12:59:28 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2007-12-11 12:59:28 +0000 |
commit | c854ecab3d5516d7bd588e3ea4eb2d5e07153fa6 (patch) | |
tree | 1f9c838031a837f237a64152447f2a43c99f2597 /syncBuffer.h | |
parent | now set really key in KD (diff) |
sender sequenze number fixed
Diffstat (limited to 'syncBuffer.h')
-rw-r--r-- | syncBuffer.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/syncBuffer.h b/syncBuffer.h index 9094d8f..840d929 100644 --- a/syncBuffer.h +++ b/syncBuffer.h @@ -47,9 +47,12 @@ private: template<class Archive> void serialize(Archive & ar, const unsigned int version) { + u_int32_t ll = length_+1; + ar & ll; ar & length_; - for(u_int32_t i = 0; i < length_; i++) - ar & buf_[i]; + ar & ll; + //for(u_int32_t i = 0; i < length_; i++) + // ar & (*this)[i]; } }; |