Build fix for OS X.

This commit is contained in:
Gunnar Beutner 2012-04-13 11:58:05 +02:00
parent 05a6303f82
commit 90796b5b6b
1 changed files with 3 additions and 3 deletions

View File

@ -97,7 +97,7 @@ int ConfigRpcComponent::LocalObjectCreatedHandler(ConfigObjectEventArgs::Ptr ea)
if (replicate) {
EndpointManager::Ptr mgr = GetIcingaApplication()->GetEndpointManager();
mgr->SendMessage(m_ConfigRpcEndpoint, NULL, MakeObjectMessage(object, "config::ObjectCreated", true));
mgr->SendMessage(m_ConfigRpcEndpoint, Endpoint::Ptr(), MakeObjectMessage(object, "config::ObjectCreated", true));
}
return 0;
@ -112,7 +112,7 @@ int ConfigRpcComponent::LocalObjectRemovedHandler(ConfigObjectEventArgs::Ptr ea)
if (replicate) {
EndpointManager::Ptr mgr = GetIcingaApplication()->GetEndpointManager();
mgr->SendMessage(m_ConfigRpcEndpoint, NULL, MakeObjectMessage(object, "config::ObjectRemoved", false));
mgr->SendMessage(m_ConfigRpcEndpoint, Endpoint::Ptr(), MakeObjectMessage(object, "config::ObjectRemoved", false));
}
return 0;
@ -138,7 +138,7 @@ int ConfigRpcComponent::LocalPropertyChangedHandler(ConfigObjectEventArgs::Ptr e
cJSON_AddStringToObject(properties, ea->Property.c_str(), value.c_str());
EndpointManager::Ptr mgr = GetIcingaApplication()->GetEndpointManager();
mgr->SendMessage(m_ConfigRpcEndpoint, NULL, msg);
mgr->SendMessage(m_ConfigRpcEndpoint, Endpoint::Ptr(), msg);
}
return 0;