summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing/AMQContentBody.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/framing/AMQContentBody.cpp')
-rw-r--r--cpp/src/qpid/framing/AMQContentBody.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/qpid/framing/AMQContentBody.cpp b/cpp/src/qpid/framing/AMQContentBody.cpp
index c472af555d..b0850ea434 100644
--- a/cpp/src/qpid/framing/AMQContentBody.cpp
+++ b/cpp/src/qpid/framing/AMQContentBody.cpp
@@ -40,4 +40,7 @@ void qpid::framing::AMQContentBody::decode(Buffer& buffer, uint32_t _size){
void qpid::framing::AMQContentBody::print(std::ostream& out) const
{
out << "content (" << size() << " bytes)";
+#ifndef NDEBUG
+ out << data.substr(0,10);
+#endif
}