From 4f44ef13f1c78a311aa47e4b0af3165555d599b6 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Sun, 4 May 2014 16:49:24 +0200 Subject: [PATCH] Fix string conversion in CompatUtility::GetCheckableCommandArgs(). Refs #5926 --- lib/icinga/compatutility.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/icinga/compatutility.cpp b/lib/icinga/compatutility.cpp index d5bac78e7..eac272aa2 100644 --- a/lib/icinga/compatutility.cpp +++ b/lib/icinga/compatutility.cpp @@ -143,7 +143,7 @@ String CompatUtility::GetCheckableCommandArgs(const Checkable::Ptr& checkable) String arg_string; BOOST_FOREACH(Dictionary::Pair kv, args) { - arg_string += kv.first + "=" + kv.second + "!"; + arg_string += Convert::ToString(kv.first) + "=" + Convert::ToString(kv.second) + "!"; } return arg_string; }