]> granicus.if.org Git - icinga2/commitdiff
Build fix.
authorGunnar Beutner <gunnar.beutner@netways.de>
Wed, 11 Sep 2013 07:42:06 +0000 (09:42 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Wed, 11 Sep 2013 07:42:06 +0000 (09:42 +0200)
components/cluster/clustercomponent.cpp

index 1044ce5c2808f1e0b0c7b4757ba33f85e6aa3ac2..9ac47eaf0f648201d8ede777f09292a80d82ae2c 100644 (file)
@@ -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());
                        }
                }
        }