summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim van der Riet <kpvdr@apache.org>2009-02-03 20:37:30 +0000
committerKim van der Riet <kpvdr@apache.org>2009-02-03 20:37:30 +0000
commit0b75a457cfc81813a27f287598fa2da4cae7a586 (patch)
tree164a3f351d9c9ee211706a8cbe9ddf0c81685c2c
parent83adcf11613b4b4d6d0dc1a244a1476eb39a31b5 (diff)
downloadqpid-python-0b75a457cfc81813a27f287598fa2da4cae7a586.tar.gz
Changed name of UpdateClient's queue from "\000qpid-update" to "qpid.qpid-update" to avoid problems with c-strings in BDB
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@740429 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/cpp/configure.ac4
-rw-r--r--qpid/cpp/src/qpid/cluster/UpdateClient.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/qpid/cpp/configure.ac b/qpid/cpp/configure.ac
index 4fe143bedf..009ff9d4f0 100644
--- a/qpid/cpp/configure.ac
+++ b/qpid/cpp/configure.ac
@@ -172,8 +172,8 @@ AC_ARG_WITH([cpg],
[AS_HELP_STRING([--with-cpg], [Build with CPG support for clustering.])],
[case "${withval}" in
yes) # yes - require dependencies
- test x$have_libcpg = xyes || AC_MSG_ERROR([libcpg not found, install openais-devel or corosync-devel])
- test x$have_cpg_h = xyes || AC_MSG_ERROR([cpg.h not found, install openais-devel or corosync-devel])
+ test x$have_libcpg = xyes || AC_MSG_ERROR([libcpg not found, install openais-devel and corosync-devel])
+ test x$have_cpg_h = xyes || AC_MSG_ERROR([cpg.h not found, install openais-devel and corosync-devel])
with_cpg=yes
;;
no) with_cpg=no ;;
diff --git a/qpid/cpp/src/qpid/cluster/UpdateClient.cpp b/qpid/cpp/src/qpid/cluster/UpdateClient.cpp
index 2ed0b26a0d..08f09573a4 100644
--- a/qpid/cpp/src/qpid/cluster/UpdateClient.cpp
+++ b/qpid/cpp/src/qpid/cluster/UpdateClient.cpp
@@ -99,8 +99,8 @@ UpdateClient::UpdateClient(const MemberId& updater, const MemberId& updatee, con
UpdateClient::~UpdateClient() {}
-// Illegal exchange/queue name for catch-up, avoid clashes with user queues/exchanges.
-static const char UPDATE_CHARS[] = "\000qpid-update";
+// Reserved exchange/queue name for catch-up, avoid clashes with user queues/exchanges.
+static const char UPDATE_CHARS[] = "qpid.qpid-update";
const std::string UpdateClient::UPDATE(UPDATE_CHARS, sizeof(UPDATE_CHARS));
void UpdateClient::update() {