diff options
author | Alan Conway <aconway@apache.org> | 2009-08-14 12:56:31 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-08-14 12:56:31 +0000 |
commit | 2c25d5df48b3f365bf7e027efde26edf255f081e (patch) | |
tree | b443ccec05f4801dfe25536b694fdd4f3720b82a /cpp/src/qpid/cluster/Event.cpp | |
parent | 401ab61bdc05fa510c47bd3c7c7b3711c24cf591 (diff) | |
download | qpid-python-2c25d5df48b3f365bf7e027efde26edf255f081e.tar.gz |
Revert "Batch multiple events into a single CPG multicast."
This reverts svn revision 803713: Batch multiple events into a single CPG multicast.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804206 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 9fcf9f5ce1..30866d3154 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); - buf.getRawData((uint8_t*)(e.getData()), e.size); + memcpy(e.getData(), buf.getPointer() + buf.getPosition(), e.size); return e; } |