summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2012-09-10 20:40:59 +0000
committerAlan Conway <aconway@apache.org>2012-09-10 20:40:59 +0000
commita611ed30a6f3df3c25425d9be0e5696381223511 (patch)
tree3560c1eaf177373deff8d9339b099304b15c56de /cpp/src
parent41e074abf3ce4ea502a0a03d6967cc86e8b46289 (diff)
downloadqpid-python-a611ed30a6f3df3c25425d9be0e5696381223511.tar.gz
QPID-4293: HA broker crashes on startup
Caused by invalid enum value in un-initialized member. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1383104 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/ha/BrokerInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/ha/BrokerInfo.cpp b/cpp/src/qpid/ha/BrokerInfo.cpp
index c8bd1a14be..cecb9b0bfe 100644
--- a/cpp/src/qpid/ha/BrokerInfo.cpp
+++ b/cpp/src/qpid/ha/BrokerInfo.cpp
@@ -44,7 +44,7 @@ using types::Variant;
using framing::FieldTable;
BrokerInfo::BrokerInfo(const std::string& host, uint16_t port_, const types::Uuid& id) :
- hostName(host), port(port_), systemId(id)
+ hostName(host), port(port_), systemId(id), status(JOINING)
{
updateLogId();
}