diff options
author | Gordon Sim <gsim@apache.org> | 2006-12-08 10:36:32 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2006-12-08 10:36:32 +0000 |
commit | 4ae1d1c3b00d5560f66c86f781c257cb931a7094 (patch) | |
tree | bc6822e5f5d19ada8e261ee9b03e95657013ff8f /qpid/cpp/lib/broker/InMemoryContent.cpp | |
parent | 7de38b8a72abd599681e020b9a68c036f1f2097e (diff) | |
download | qpid-python-4ae1d1c3b00d5560f66c86f781c257cb931a7094.tar.gz |
Some more unit tests.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@483916 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/lib/broker/InMemoryContent.cpp')
-rw-r--r-- | qpid/cpp/lib/broker/InMemoryContent.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qpid/cpp/lib/broker/InMemoryContent.cpp b/qpid/cpp/lib/broker/InMemoryContent.cpp index 7205eb3de0..8826b42d2c 100644 --- a/qpid/cpp/lib/broker/InMemoryContent.cpp +++ b/qpid/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; } |