diff --git a/lib/perfdata/influxdbwriter.cpp b/lib/perfdata/influxdbwriter.cpp index 1fdeca17e..92091aafb 100644 --- a/lib/perfdata/influxdbwriter.cpp +++ b/lib/perfdata/influxdbwriter.cpp @@ -237,7 +237,7 @@ String InfluxdbWriter::EscapeKey(const String& str) String result = str; boost::algorithm::replace_all(result, ",", "\\,"); boost::algorithm::replace_all(result, " ", "\\ "); - return str; + return result; } String InfluxdbWriter::EscapeField(const String& str)