summaryrefslogtreecommitdiff
path: root/syncBuffer.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-11 12:36:06 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-11 12:36:06 +0000
commit0dd2114578f84735d1169d6e995ddbcb9f8003dc (patch)
tree87c7af2c7fa6da7b5793573ed31cb428a40ac29c /syncBuffer.h
parentfixed many sync things (diff)
serialisation working!!!
Diffstat (limited to 'syncBuffer.h')
-rw-r--r--syncBuffer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/syncBuffer.h b/syncBuffer.h
index 222c197..9094d8f 100644
--- a/syncBuffer.h
+++ b/syncBuffer.h
@@ -48,7 +48,8 @@ private:
void serialize(Archive & ar, const unsigned int version)
{
ar & length_;
- ar & buf_;
+ for(u_int32_t i = 0; i < length_; i++)
+ ar & buf_[i];
}
};