diff options
Diffstat (limited to 'cpp/lib/broker/InMemoryContent.cpp')
-rw-r--r-- | cpp/lib/broker/InMemoryContent.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/lib/broker/InMemoryContent.cpp b/cpp/lib/broker/InMemoryContent.cpp index 7205eb3de0..8826b42d2c 100644 --- a/cpp/lib/broker/InMemoryContent.cpp +++ b/cpp/lib/broker/InMemoryContent.cpp @@ -33,8 +33,7 @@ u_int32_t InMemoryContent::size() { int sum(0); for (content_iterator i = content.begin(); i != content.end(); i++) { - sum += (*i)->size() + 8;//8 extra bytes for the frame - //TODO: have to get rid of the frame stuff from encoded data + sum += (*i)->size(); } return sum; } |