diff options
author | Alan Conway <aconway@apache.org> | 2008-12-03 01:51:04 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-12-03 01:51:04 +0000 |
commit | 65c29f1810e2fa2e445f536db49218fcf4b0d6f4 (patch) | |
tree | d42180c2fb0ada1bc0c49b0e35a8eab56992d060 /cpp/src | |
parent | 6a51d3d6f37b21d6b15fe2a76c16446edc23cd91 (diff) | |
download | qpid-python-65c29f1810e2fa2e445f536db49218fcf4b0d6f4.tar.gz |
Fix bad assert(), causing compile failures in debug builds.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722712 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-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 b787ef0f67..0e55d7bce3 100644 --- a/cpp/src/qpid/cluster/Event.cpp +++ b/cpp/src/qpid/cluster/Event.cpp @@ -63,7 +63,7 @@ bool Event::mcast (Cpg& cpg) const { b.putOctet(type); b.putLongLong(reinterpret_cast<uint64_t>(connectionId.getPointer())); b.putLong(id); - assert(buf.getPosition() == OVERHEAD); + assert(b.getPosition() == OVERHEAD); iovec iov[] = { { header, OVERHEAD }, { const_cast<char*>(getData()), getSize() } }; return cpg.mcast(iov, sizeof(iov)/sizeof(*iov)); } |