summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing/SendContent.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-10-02 12:47:30 +0000
committerGordon Sim <gsim@apache.org>2007-10-02 12:47:30 +0000
commitaacbed9ec082a072101f7a26fd33194176f12442 (patch)
tree4bec264b1e526f958318f9bc55de8036a4bb1dc1 /cpp/src/qpid/framing/SendContent.cpp
parent1748fa09ecd206023cdac7a3e5be18816ffa803b (diff)
downloadqpid-python-aacbed9ec082a072101f7a26fd33194176f12442.tar.gz
Correction to interpretation of flags (B/E refer to the first/last segment in the frameset and should be set on all frames in such segments).
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@581214 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing/SendContent.cpp')
-rw-r--r--cpp/src/qpid/framing/SendContent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/framing/SendContent.cpp b/cpp/src/qpid/framing/SendContent.cpp
index 62a876f7c5..57ac58038b 100644
--- a/cpp/src/qpid/framing/SendContent.cpp
+++ b/cpp/src/qpid/framing/SendContent.cpp
@@ -60,7 +60,7 @@ void qpid::framing::SendContent::setFlags(AMQFrame& f, bool first, bool last) co
{
f.setBof(false);
f.setBos(first);
- f.setEof(last);
+ f.setEof(true);//content is always the last segment
f.setEos(last);
}