diff options
Diffstat (limited to 'cpp/lib')
-rw-r--r-- | cpp/lib/broker/BrokerMessageMessage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/lib/broker/BrokerMessageMessage.cpp b/cpp/lib/broker/BrokerMessageMessage.cpp index 7a5943bc66..f51722f2da 100644 --- a/cpp/lib/broker/BrokerMessageMessage.cpp +++ b/cpp/lib/broker/BrokerMessageMessage.cpp @@ -122,7 +122,7 @@ u_int64_t MessageMessage::contentSize() const { // FIXME astitcher 2007-2-7 only works for inline content if (transfer->getBody().isInline()) - return transfer->getBody().size(); + return transfer->getBody().getValue().size(); else THROW_QPID_ERROR(INTERNAL_ERROR, "Unfinished"); } |