Fix crash in CompatUtility::GetCheckResultPerfdata.

Refs #5026
This commit is contained in:
Gunnar Beutner 2013-11-08 14:00:38 +01:00
parent 2d73b6259c
commit 59739d9ae4
1 changed files with 1 additions and 2 deletions

View File

@ -559,8 +559,7 @@ String CompatUtility::GetCheckResultPerfdata(const Dictionary::Ptr& cr)
if (!cr)
return String();
Dictionary::Ptr perfdata = cr->Get("performance_data");
return PluginUtility::FormatPerfdata(perfdata);
return PluginUtility::FormatPerfdata(cr->Get("performance_data"));
}
String CompatUtility::EscapeString(const String& str)