diff options
author | Alan Conway <aconway@apache.org> | 2008-12-03 02:55:54 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-12-03 02:55:54 +0000 |
commit | f9cccf7b8f346c415c5f9b7d52127ef67797b02d (patch) | |
tree | 2cfcbbb5f1f007a1c399a69bd26667ac318438a6 /cpp/src/qpid/cluster/Cluster.cpp | |
parent | 65c29f1810e2fa2e445f536db49218fcf4b0d6f4 (diff) | |
download | qpid-python-f9cccf7b8f346c415c5f9b7d52127ef67797b02d.tar.gz |
cluster: add Event size to encoded header.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722728 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Cluster.cpp')
-rw-r--r-- | cpp/src/qpid/cluster/Cluster.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/Cluster.cpp b/cpp/src/qpid/cluster/Cluster.cpp index 0ac0da2be4..6cad003605 100644 --- a/cpp/src/qpid/cluster/Cluster.cpp +++ b/cpp/src/qpid/cluster/Cluster.cpp @@ -261,7 +261,8 @@ void Cluster::deliver( { Mutex::ScopedLock l(lock); MemberId from(nodeid, pid); - deliver(Event::delivered(from, msg, msg_len), l); + framing::Buffer buf(static_cast<char*>(msg), msg_len); + deliver(Event::decode(from, buf), l); } void Cluster::deliver(const Event& e, Lock&) { |