diff options
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&) { |