*/
const char *Exception::what(void) const throw()
{
- return GetMessage().c_str();
+ return m_Message.c_str();
}
/**
pubkey = "icinga-c2.crt",
cakey = "ca.crt",
- node = "10.0.10.3",
+ node = "192.168.2.235",
service = 8888
}
}
local object endpoint "icinga-c1" {
- node = "10.0.10.14",
+ node = "192.168.5.46",
service = 7777,
roles = { "broker" }
bool MessagePart::GetProperty(string key, MessagePart *value) const
{
Object::Ptr object;
- if (GetDictionary()->GetProperty(key, &object))
+ if (!GetDictionary()->GetProperty(key, &object))
return false;
Dictionary::Ptr dictionary = dynamic_pointer_cast<Dictionary>(object);