diff options
author | Alan Conway <aconway@apache.org> | 2009-08-12 21:08:51 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-08-12 21:08:51 +0000 |
commit | dbb447da624494db2f376837feab22fb5db989fb (patch) | |
tree | 5bcb4453684684044c398e6b859ce88a9e5b9c56 /cpp/src/qpid/cluster/Event.cpp | |
parent | 46d8b08d69df128bbb08178dd57d8da4caa67c53 (diff) | |
download | qpid-python-dbb447da624494db2f376837feab22fb5db989fb.tar.gz |
Batch multiple events into a single CPG multicast.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803713 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Event.cpp')
-rw-r--r-- | cpp/src/qpid/cluster/Event.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/Event.cpp b/cpp/src/qpid/cluster/Event.cpp index 30866d3154..9fcf9f5ce1 100644 --- a/cpp/src/qpid/cluster/Event.cpp +++ b/cpp/src/qpid/cluster/Event.cpp @@ -72,7 +72,7 @@ Event Event::decodeCopy(const MemberId& m, framing::Buffer& buf) { if (buf.available() < e.size) throw Exception("Not enough data for multicast event"); e.store = RefCountedBuffer::create(e.size + HEADER_SIZE); - memcpy(e.getData(), buf.getPointer() + buf.getPosition(), e.size); + buf.getRawData((uint8_t*)(e.getData()), e.size); return e; } |