diff options
| author | Gordon Sim <gsim@apache.org> | 2008-05-14 16:38:43 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2008-05-14 16:38:43 +0000 |
| commit | c59bf9b7e877acc4f0be19a6abcdd67fa7ecc05e (patch) | |
| tree | 75ce082b9e91530f632993554d51cb63ae7e881f /cpp/src/qpid | |
| parent | 8fad6642ca584f130514b2f8648a129d6f52f0ae (diff) | |
| download | qpid-python-c59bf9b7e877acc4f0be19a6abcdd67fa7ecc05e.tar.gz | |
Fix for large messages.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@656331 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid')
| -rw-r--r-- | cpp/src/qpid/client/SessionImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/SessionImpl.cpp b/cpp/src/qpid/client/SessionImpl.cpp index e998d040c8..18b573b464 100644 --- a/cpp/src/qpid/client/SessionImpl.cpp +++ b/cpp/src/qpid/client/SessionImpl.cpp @@ -322,7 +322,7 @@ void SessionImpl::sendContent(const MethodContent& content) header.setLastSegment(false); handleOut(header); /*Note: end of frame marker included in overhead but not in size*/ - const u_int32_t frag_size = maxFrameSize - (AMQFrame::frameOverhead() - 1); + const u_int32_t frag_size = maxFrameSize - AMQFrame::frameOverhead(); if(data_length < frag_size){ AMQFrame frame(in_place<AMQContentBody>(content.getData())); |
