You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2007/08/13 22:08:38 UTC
svn commit: r565495 -
/incubator/qpid/trunk/qpid/cpp/src/qpid/cluster/Cluster.cpp
Author: aconway
Date: Mon Aug 13 13:08:37 2007
New Revision: 565495
URL: http://svn.apache.org/viewvc?view=rev&rev=565495
Log:
Fix assertions that cause make -DNDEBUG to fail.
Modified:
incubator/qpid/trunk/qpid/cpp/src/qpid/cluster/Cluster.cpp
Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/cluster/Cluster.cpp
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/cluster/Cluster.cpp?view=diff&rev=565495&r1=565494&r2=565495
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/cluster/Cluster.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/cluster/Cluster.cpp Mon Aug 13 13:08:37 2007
@@ -115,13 +115,12 @@
void Cluster::deliver(
cpg_handle_t /*handle*/,
- cpg_name* group,
+ cpg_name* /*group*/,
uint32_t nodeid,
uint32_t pid,
void* msg,
int msg_len)
{
- assert(name == *group);
Id from(nodeid, pid);
Buffer buf(static_cast<char*>(msg), msg_len);
AMQFrame frame;
@@ -164,12 +163,11 @@
void Cluster::configChange(
cpg_handle_t /*handle*/,
- cpg_name *group,
+ cpg_name */*group*/,
cpg_address */*current*/, int /*nCurrent*/,
cpg_address *left, int nLeft,
cpg_address *joined, int nJoined)
{
- assert(name == *group);
bool newMembers=false;
MemberList updated;
{