mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Build fixes for *NIX.
This commit is contained in:
parent
c11231f4e7
commit
761d494d8e
@ -14,6 +14,8 @@ libicinga_la_SOURCES = \
|
||||
i2-icinga.h \
|
||||
jsonrpcendpoint.cpp \
|
||||
jsonrpcendpoint.h \
|
||||
subscriptioncomponent.cpp \
|
||||
subscriptioncomponent.h \
|
||||
virtualendpoint.cpp \
|
||||
virtualendpoint.h
|
||||
|
||||
|
@ -6,7 +6,7 @@ namespace icinga
|
||||
|
||||
struct I2_ICINGA_API NewEndpointEventArgs : public EventArgs
|
||||
{
|
||||
Endpoint::Ptr Endpoint;
|
||||
icinga::Endpoint::Ptr Endpoint;
|
||||
};
|
||||
|
||||
class I2_ICINGA_API EndpointManager : public Object
|
||||
|
@ -32,7 +32,7 @@ bool JsonRpcEndpoint::IsLocal(void) const
|
||||
|
||||
bool JsonRpcEndpoint::IsConnected(void) const
|
||||
{
|
||||
return m_Client;
|
||||
return (bool)m_Client;
|
||||
}
|
||||
|
||||
void JsonRpcEndpoint::ProcessRequest(Endpoint::Ptr sender, const JsonRpcRequest& message)
|
||||
|
Loading…
x
Reference in New Issue
Block a user