From: Gunnar Beutner Date: Mon, 1 Feb 2016 10:25:34 +0000 (+0100) Subject: Fix incorrect method call in JsonRpcConnection::MessageHandler X-Git-Tag: v2.5.0~569 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=98e104a77350610dc081b56a35b9e777dec18b33;p=icinga2 Fix incorrect method call in JsonRpcConnection::MessageHandler refs #11014 --- diff --git a/lib/remote/jsonrpcconnection.cpp b/lib/remote/jsonrpcconnection.cpp index b3cf8dbad..81911c300 100644 --- a/lib/remote/jsonrpcconnection.cpp +++ b/lib/remote/jsonrpcconnection.cpp @@ -207,7 +207,7 @@ void JsonRpcConnection::MessageHandler(const String& jsonString) if (message->Contains("id")) { resultMessage->Set("jsonrpc", "2.0"); resultMessage->Set("id", message->Get("id")); - JsonRpc::SendMessage(m_Stream, resultMessage); + SendMessage(resultMessage); } }