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 | 28026d5c19a8bd7829937ec340981c4a35d2ef7d (patch) | |
| tree | a9468a7dfff1d17d553eb41a30d687c991c56bef /qpid/cpp/src | |
| parent | 910e7a4269782e8131134b73d4d569761c5fa4a2 (diff) | |
| download | qpid-python-28026d5c19a8bd7829937ec340981c4a35d2ef7d.tar.gz | |
Fix bad assert(), causing compile failures in debug builds.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@722712 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/cluster/Event.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/cluster/Event.cpp b/qpid/cpp/src/qpid/cluster/Event.cpp index b787ef0f67..0e55d7bce3 100644 --- a/qpid/cpp/src/qpid/cluster/Event.cpp +++ b/qpid/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)); } |
