summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Event.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/cluster/Event.cpp')
-rw-r--r--cpp/src/qpid/cluster/Event.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/cluster/Event.cpp b/cpp/src/qpid/cluster/Event.cpp
index 3f2b5443d2..87cc7e7bd3 100644
--- a/cpp/src/qpid/cluster/Event.cpp
+++ b/cpp/src/qpid/cluster/Event.cpp
@@ -56,14 +56,14 @@ Event Event::control(const framing::AMQBody& body, const ConnectionId& cid, uint
return e;
}
-void Event::mcast (const Cpg::Name& name, Cpg& cpg) const {
+bool Event::mcast (Cpg& cpg) const {
char header[OVERHEAD];
Buffer b(header, OVERHEAD);
b.putOctet(type);
b.putLongLong(reinterpret_cast<uint64_t>(connectionId.getPointer()));
b.putLong(id);
iovec iov[] = { { header, OVERHEAD }, { const_cast<char*>(getData()), getSize() } };
- cpg.mcast(name, iov, sizeof(iov)/sizeof(*iov));
+ return cpg.mcast(iov, sizeof(iov)/sizeof(*iov));
}
Event::operator Buffer() const {