[icinga-checkins] icinga.org: icinga2/master: Fix incorrect method call in JsonRpcConnection ::MessageHandler

git at icinga.org git at icinga.org
Mon Feb 1 11:26:01 CET 2016


Module: icinga2
Branch: master
Commit: 98e104a77350610dc081b56a35b9e777dec18b33
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=98e104a77350610dc081b56a35b9e777dec18b33

Author: Gunnar Beutner <gunnar at beutner.name>
Date:   Mon Feb  1 11:25:34 2016 +0100

Fix incorrect method call in JsonRpcConnection::MessageHandler

refs #11014

---

 lib/remote/jsonrpcconnection.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/remote/jsonrpcconnection.cpp b/lib/remote/jsonrpcconnection.cpp
index b3cf8db..81911c3 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);
 	}
 }
 



More information about the icinga-checkins mailing list