From: Gunnar Beutner Date: Wed, 11 Sep 2013 07:42:06 +0000 (+0200) Subject: Build fix. X-Git-Tag: v0.0.3~564 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6351ee8fb379a788eafcc186954c59e4f4a5d509;p=icinga2 Build fix. --- diff --git a/components/cluster/clustercomponent.cpp b/components/cluster/clustercomponent.cpp index 1044ce5c2..9ac47eaf0 100644 --- a/components/cluster/clustercomponent.cpp +++ b/components/cluster/clustercomponent.cpp @@ -476,7 +476,7 @@ void ClusterComponent::ClusterTimerHandler(void) if (client) { Log(LogWarning, "cluster", "Closing connection for endpoint '" + endpoint->GetName() + "' due to inactivity."); client->Close(); - endpoint->SetClient(Endpoint::Ptr()); + endpoint->SetClient(Stream::Ptr()); } } }