From e702d32dd1ca53b831fb70ffa26911575eeb0a62 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 8 Dec 2006 10:36:32 +0000 Subject: Some more unit tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483916 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/lib/broker/InMemoryContent.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cpp/lib/broker/InMemoryContent.cpp') 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; } -- cgit v1.2.1