From 07e4bc03bc631f2033d6c8d1bf039e3728c171b7 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Mon, 16 Dec 2013 16:57:30 +0100 Subject: [PATCH] Fix perfdata double value type formatting. Fixes #5277 --- lib/icinga/perfdatavalue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/icinga/perfdatavalue.cpp b/lib/icinga/perfdatavalue.cpp index 4f090d494..2d1fc1864 100644 --- a/lib/icinga/perfdatavalue.cpp +++ b/lib/icinga/perfdatavalue.cpp @@ -124,7 +124,7 @@ String PerfdataValue::Format(const Value& perfdata) PerfdataValue::Ptr pdv = perfdata; std::ostringstream result; - result << pdv->GetValue(); + result << Convert::ToString(pdv->GetValue()); String unit; -- 2.40.0