]> granicus.if.org Git - icinga2/commitdiff
Fix incorrect function name
authorGunnar Beutner <gunnar@beutner.name>
Tue, 11 Aug 2015 10:56:30 +0000 (12:56 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Tue, 11 Aug 2015 10:56:30 +0000 (12:56 +0200)
refs #9876

lib/remote/apilistener.cpp

index 13d32abb6a8fd53b4efd5caddf12dd5f3491df59..5fd6ef9ad3aeba9ad47d7d81d57f1cf08700e501 100644 (file)
@@ -265,7 +265,7 @@ void ApiListener::AddConnection(const Endpoint::Ptr& endpoint)
 void ApiListener::NewClientHandler(const Socket::Ptr& client, const String& hostname, ConnectionRole role)
 {
        try {
-               NewClientHandler(client, hostname, role);
+               NewClientHandlerInternal(client, hostname, role);
        } catch (const std::exception& ex) {
                Log(LogCritical, "ApiListener")
                    << "Exception while handling new API client connection: " << DiagnosticInformation(ex);