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 | e702d32dd1ca53b831fb70ffa26911575eeb0a62 (patch) | |
tree | c95c0e0a61523402bc30da986d8175710498a1f7 /cpp/lib/broker/InMemoryContent.cpp | |
parent | 2ff288327ec486a54b8406b9140c1116162424b1 (diff) | |
download | qpid-python-e702d32dd1ca53b831fb70ffa26911575eeb0a62.tar.gz |
Some more unit tests.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483916 13f79535-47bb-0310-9956-ffa450edef68
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; } |